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:  

This entry was posted in General. Bookmark the permalink.

 

 

Twitter