How to Specify Start and Stop Times In New Youtube Embed Code

Why Did My Embed Code Stop Working?

Youtube recently changed its code for embedding videos.

Previously you could type something like this at the end of the url within your embed code:

#t=310s

This would start the video at 310 seconds into the video.

That no longer works …

The new youtube code for the start time looks like this:

?start=310

And the new code for end time is like this:

end=320

So if you want to start your youtube video at 310 seconds in and end it at the 320 second mark,  you would type this at the end of your url:

?start=310&end=320

So your final embed code would look like this:  

Facebooktwittergoogle_plusredditpinterestlinkedinmail
This entry was posted in General. Bookmark the permalink.
  • Joshua Roberts

    you sir. you.

  • ikarusweb

    thx for the post man

  • pogo

    The font ruins the last sentence in the blog!

    ?start=310&end=320
    should be ?start=310&end=320

    • pogo

      Well…that didn’t work. But you get the point!

      • Saleh al-Salman

        That was 2 years ago.

        I tried it now and it did not work.

        What is the new one?

  • Salamander Calamander

    Doesn’t work when used in a URL. How do I create a URL with a specific start and end time?

  • Dig

    Youtube has changed something again, Right now this works: http://www.digitalette.com/web/set-youtube-video-start-end-times-2014-style/

  • YouTube link writer/tester enter Stop and Start times from the video. It converts those times to total seconds. Enter the YouTube file name then writes a link for full screen viewing which is displayed at the bottom. Then Test the link.
    https://docs.google.com/document/d/1zzWRWoD1QGGBn2dZt0tIAGMJ1Z5nPDYKz4u8RsqDV48/pub

  • Aks Shah

    I found this simple tool for customising the start & end time of any youtube videos..
    Simply go to the below link http://www.youtubestartend.com
    & the generated link can also be shared with your friends or embedded in your website.
    Absolutely no need for calculations & all that. Simple as 1,2,3.