An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

October 10, 2008

Embed a Part of a YouTube Video

If you want to embed a YouTube video that starts to become interesting somewhere in the middle, there's a simple way to skip the boring part. YouTube's embedded player has a parameter that lets you specify the number of seconds that should be skipped before starting to play the video. Here's how you should edit the code: append &start=[number of seconds from the start of the video] to both URLs.

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/abcdefghijk&hl=en&fs=1&start=15"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/abcdefghijk&hl=en&fs=1&start=15" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

For example, the video below includes some excerpts from Google Chrome's launch, but I skipped to the last part, when Sergey Brin answers some interesting questions.


Unfortunately, YouTube doesn't provide an option to link to a part of the video, but you can still use the embedded player:
http://www.youtube.com/v/w8oPEJiCqi4&start=249&autoplay=1,
where the autoplay parameter is necessary to automatically start the video.

Since there's no end parameter, you can try Splicd, a site that uses YouTube's API to isolate a part of a video.

Related:
YouTube embedded player parameters

This blog is not affiliated with Google.