14

I am able to modify a standard youtube link:

https://www.youtube.com/watch?v=R0tHEJl_Y8E

to play in fullscreen mode:

https://www.youtube.com/v/R0tHEJl_Y8E

I would like to augment the fullscreen URL so that it starts at time index. I looked at other examples and unsuccessfully tried:

https://www.youtube.com/v/R0tHEJl_Y8E&/#t=68s

Suggestions are appreciated: thank you

gatorback
  • 1,351
  • 4
  • 19
  • 44

4 Answers4

19

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://www.youtube.com/embed/R0tHEJl_Y8E?start=68

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.

Peter Krauss
  • 13,174
  • 24
  • 167
  • 304
Tyler C.
  • 643
  • 6
  • 10
  • 3
    This works great as long as the URL is youtube.com but when youTube provides a redirect link like youtu.be/VIDEO_ID the redirect fails if /embed is inserted. However, if you use the same Video_Id that was provided with the redirect link and append it to the youtube.com/embed/Video_Id The video plays in full screen as desired. But is this valid to change the domain from youtu.be to youtube... or will it break in the future? – Harvey Mushman Jan 10 '17 at 00:27
  • Is there a way to do this with a live stream link? – Steve Lloyd Mar 07 '21 at 17:46
6

you can the url for fullscreen

https://www.youtube.com/embed/R0tHEJl_Y8E?start=68&fs=1

'fs=1' ==> for full screen button to show
'start=68' ==> 68 is in seconds
'https://www.youtube.com/embed/'--> this will enables the fullscreen mode
Bhaskara Arani
  • 1,556
  • 1
  • 26
  • 44
1

If you right click on you chose video, it will show an option saying "Copy URL at current time". This copies a URL that starts at your selected period.

CoderMuffin
  • 519
  • 1
  • 10
  • 21
0

I got newer youtube live stream videos working with this format:

https://www.youtube.com/embed/OWbI6WtlI-k?rel=0&autoplay=1