Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Playing several custom YouTube video urls with start and end time in sequence like a playlist

$
0
0

We can set the start and end time in a youtube video like in this example and it works: https://www.youtube.com/v/97QyJve5L40&t=46s&start=83&end=106&autoplay=1

Explanation:

From the original youtube url https://www.youtube.com/watch?v=97QyJve5L40&t=46s

we just have to change 'watch?v=' to 'v/'

and append '&start=83&end=106' to the end, where the time is always in seconds.

we can also add '&autoplay=1' to the end, where 1 is for the video to autoplay and 0 is for the video to play only when we click on it to play (default).

Question:

What is the best way we could consider for playing several of these custom YouTube video urls, with start and end time, in sequence like a playlist? (Note that the YouTube website at the time of this writing lost the ability to set start and end time for each video in playlists.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>