Jump to content

Template:YoutubeEmbed

From TWM Redoubt
Revision as of 20:09, 21 June 2025 by TWM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Allows the ability to embed YouTube videos with specified start and stop points.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
YoutubeIDYoutubeID

The content ID of the Youtube Video. A series of alphanumerical character that follow the standard URl. In the example. The ID follows the v after the question mark. So for this video ID it will be "=ow-N0d1QTS8"

Example
https://www.youtube.com/watch?v=ow-N0d1QTS8
Auto value
=NpEaa2P7qZI
Stringrequired
StartStart

This is the time stamp you wish the video to begin at. How to get this information is simple. Copy the url of the Youtube video at the current time stamp. Or you can simply convert the time stamp into seconds and input the number there.

Default
0
Example
67
Numberrequired
EndEnd

Just like the Start variable. Insert the time stamp in seconds into the field to designate the stop location. The example shows that this would have the video stop Two minutes into the video. Leaving the value blank might cause issues.

Example
120
Numberoptional