Playing YouTube video with start and end time usin

2019-01-22 02:56发布

I'm trying to figure out a custom start&end time for an embedded YouTube video shown below

https://youtube.googleapis.com/v/BmOpD46eZoA%26start=36%26end=65

but the above link not working properly in safari browser. any one suggest how to working on safari browser.Thanks!

3条回答
【Aperson】
2楼-- · 2019-01-22 03:13
甜甜的少女心
3楼-- · 2019-01-22 03:18

Try this link, it must be helpful

https://www.youtube.com/v/BmOpD46eZoA?start=36&end=65&version=3
查看更多
趁早两清
4楼-- · 2019-01-22 03:18

You should try

https://www.youtube.com/embed/-ZWGpOSS6T0?start=130&end=144&version=3

First thing you have to do is of course get the specific time you want your embedded video to start and the specific time you want it to end at. Then convert them into seconds. Let’s say you want to embed only the part of the video starting from 02:16 up to 02:58.

In seconds, your start time would be ( 2 * 60 ) + 16 = 136 and your end time would be ( 2 * 60 ) + 58 = 178.

Next, grab the embed code from the Youtube video, and append the following parameters to the video URL in the embed code:

?start=[your_start_time]&end=[your_end_time]&version=3

Replace [your_start_time] and [your_end_time] with your actual start and end times in seconds so that your embed code would look like this:

Read more here, How to embed or link to a specific part of a YouTube video

查看更多
登录 后发表回答