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
<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
Subscribe to:
Post Comments (Atom)
37 comments:
Once again great tips.
Reply DeleteGreat tip, but there are also many ways to do this...for example Splicd can help one split a YouTube video too -
Reply Deletehttp://kidtechguru.blogspot.com/2008/10/splicd-lets-you-split-and-share-any.html
Great trick, very useful.
Reply DeleteFinally! I've been wanting to do this forever on YT since you can do it on Google Video, e.g. http://www.makeyougohmm.com/20060721/3605/ tells how to do it with Google Video.
Reply DeleteAnother great way to irritate surfers.
Reply DeleteWonderful Job thx
Reply Deletewow, great tip buddy i loved it.
Reply DeleteIs it possible to add a stop time after the start? I would like to play only a small part of the video.
Reply DeleteThis was exactly what I was looking for! Well explained and referenced. Kudos
Reply DeleteDid it here: http://www.wayswithwordsonline.com/2009/02/nod-to-all-part-time-and-adjunct.html
Reply DeleteIt worked great.
I think you've covered this in a later post but in any case maybe you could update this post, too.
Reply DeleteThat is, to note that YouTube actually _does_ enable people to "deep link" directly to a specific spot in a video. Just add #t=XmYs where X is the number of minutes and Y the number of seconds you want to jump to. See http://www.youtube.com/watch?v=sPQViNNOAkw#t=12m40s for an example (Clay Shirky explaining the beauty of The Long Tail).
Just make height= something smaller. I'm not sure the exact height for YouTube's controller. Experiment. It's probably around 30.
Reply DeleteYou can actually link to a specific moment of the video by adding this to the end of the URL
Reply Delete#t=0m56s
It works on me,..
Reply DeleteThanks!
i found somemagic tool if embeding disable on http://blogger-templates.blogspot.com/2009/02/youtube-embed-magic-tool.html, is thath true?
Reply Deletecan anyone tell if i want to embed a youtube video directy by its url..... it is something like "http://www.youtube.com/watch?v=BNGlf3hUyMY&feature=channel"............ now if i replace the src with this url, it dosnt work........ any one has idea?? plz help!!!
Reply Delete@Anonymous:
Reply DeleteUse http://www.youtube.com/v/BNGlf3hUyMY
http://www.youtube.com/watch?v=w8oPEJiCqi4#t=4m09s
Reply DeleteHere's the link construction to take you to the same start point you've set using the embed code.
what I cannot find about youtube is how to embed search phrases with the youtube video so that google can pick up your video and your related keyphrases associated with the video?
Reply DeleteYouTube actually _does_ enable people to "deep link" directly to a specific spot in a video. Just add #t=XmYs where X is the number of minutes and Y the number of seconds you want to jump to. See http://www.youtube.com/watch?v=sPQViNNOAkw#t=12m40s for an example (Clay Shirky explaining the beauty of The Long Tail).
Reply DeleteIs it possible to add a stop time after the start? I would like to play only a small part of the video.
Reply DeleteGreat news... Now I can remove unwanted stuff appear at the beginning of youtube videos....
Reply DeleteThat's all very well, but can anyone tell me why when I click start on a YouTube video in my blog(using Blogger), it will not stop, plays on and on until the end no matter what I do? Is this unique or a usual phenomenon, and could someone please supply and answer? I'm trying to put a couple of music videos into a blog post, and the above happens! Thanks to anyone who could give me some advice.
Reply DeleteOne would have thought that since Google included a "start" parameter, they would also have included a "stop" one. Instead, we have to go through the hassle of using a service like Splicd to achieve the desired result. (True, it's not THAT big of a hassle but still...)
Reply DeleteThanks, I was searching for something like this! You often find advice on how to start at a certain point of time but not how to stop it!
Reply Deletehow do you start a youtbe video at certain time and stop at certain time in same embed
Reply DeleteIs it possible to embed a song from a youtube video on a powerpoint?
Reply DeleteBut you can easily download the song through catchmp3.net
Deletethats gonna be a bit tough. you need to grab the song first.
Reply Deletehowever, an easier way to share a youtube video from a specific moment is videoblast.it - i sort of like it..
http://splicd.com/vCk6qMKdAXk/170/184
Reply DeleteIs there any open source cms out there that I can embed youtube video and create a site?
Reply DeleteWill it work for all possible browsers? IE, FF, Opera, Chrome at least?
Reply DeleteHi I'm trying to link to this clip on 25 min and 5 seconds using:
Reply Deletehttp://www.youtube.com/watch?v=860UkVLvEEE&start=1505&autoplay=1
However it just starts at 00:00. Can you help out?
http://www.youtube.com/watch?v=860UkVLvEEE&t=25m5s
DeleteThanks, used it tonight on my site - PostSecret
Reply Delete-Frank
How come this doesn't work?
Reply Deletehttp://www.youtube.com/watch?v=rLFmkGseZ-8&start=0&end=54
It will start at the designated seconds, but not end. This topic is from 2008, still no way to end a clip?
to those having problem with some browsers try to use wmode=opaque in you'er URL such as http://www.youtube.com/embed/lb3qp0HsZ1A?wmode=opaque&version=3&f=videos&app=youtube_gdata . let me know in www.facejar.com for any issue...
Reply DeleteNote: Only a member of this blog may post a comment.
[フレーム]