gatorback
gatorback

Reputation: 1537

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

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

Upvotes: 15

Views: 117336

Answers (4)

Carl M. Cartagena
Carl M. Cartagena

Reputation: 111

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

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

Upvotes: 0

Tyler C.
Tyler C.

Reputation: 673

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.

Upvotes: 22

Bhaskara Arani
Bhaskara Arani

Reputation: 1657

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

Upvotes: 7

CoderMuffin
CoderMuffin

Reputation: 608

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.

Upvotes: 1

Related Questions