URL syntax for Youtube video in fullscreen and start at time index

According to the YouTube API Player Parameters page, the /v/ style URL was used for the embedded AS3 player and is deprecated. Instead, use https://www.youtube.com/embed/VIDEO_ID, with the start parameter, e.g.:

https://youtube.com/watch?v=R0tHEJl_Y8E%3Fstart%3D68

Also, just to clarify, this URL will take up the full browser window, not the full screen.


A better solution using iframe here with jQuery or simplest here:

If you add ‘?rel=0&autoplay=1’ to the end of the url in the embed code (like this)

<iframe id="video" 
 src="//www.youtube.com/embed/5iiPC-VGFLU?rel=0&autoplay=1"
 frameborder="0"
 allowfullscreen></iframe>

of the video it should play on load. Here’s a demo over at jsfiddle.

Leave a Comment