YouTube gives users the ability to easily start video playback at a specific time using the start parameter, a trick I’m sure you must be aware of. Today, Google added a new parameter that allows users to stop video playback at a specific time as well.
The end parameter is a positive integer whose value specifies the time, measured in seconds from the start of the video, when the player should stop playing the video. Note that the time is measured from the beginning of the video and not from either the value of the start player parameter or the startSeconds parameter.
The end parameter works both for videos playing on YouTube’s website as well as on an embedded player.
Example:
<iframe width="420" height="315" src="http://www.youtube.com/embed/Nc9xq-TVyHI?start=110&end=119" frameborder="0" allowfullscreen></iframe>
I've been waiting for this end parameter for ages.
ReplyDeleteThank you, this was the only helpful thing i could find on google about this topic.
ReplyDeleteThanks! a bunch of people asked about this in a bunch of places. This is the answer
ReplyDelete