Stop YouTube Videos at a Specified Time

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.


<iframe width="420" height="315" src="" frameborder="0" allowfullscreen></iframe>

This Article Has 3 Comments
  1. Lonnie Davis Reply

    I've been waiting for this end parameter for ages.

  2. Anonymous Reply

    Thank you, this was the only helpful thing i could find on google about this topic.

  3. Anonymous Reply

    Thanks! a bunch of people asked about this in a bunch of places. This is the answer

Leave a Reply

Your email address will not be published. Required fields are marked *