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

37 comments:

  1. Great tip, but there are also many ways to do this...for example Splicd can help one split a YouTube video too -

    http://kidtechguru.blogspot.com/2008/10/splicd-lets-you-split-and-share-any.html

    ReplyDelete
  2. Great trick, very useful.

    ReplyDelete
  3. Finally! 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.

    ReplyDelete
  4. Another great way to irritate surfers.

    ReplyDelete
  5. wow, great tip buddy i loved it.

    ReplyDelete
  6. Is it possible to add a stop time after the start? I would like to play only a small part of the video.

    ReplyDelete
  7. This was exactly what I was looking for! Well explained and referenced. Kudos

    ReplyDelete
  8. Did it here: http://www.wayswithwordsonline.com/2009/02/nod-to-all-part-time-and-adjunct.html

    It worked great.

    ReplyDelete
  9. I think you've covered this in a later post but in any case maybe you could update this post, too.

    That 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).

    ReplyDelete
  10. Just make height= something smaller. I'm not sure the exact height for YouTube's controller. Experiment. It's probably around 30.

    ReplyDelete
  11. You can actually link to a specific moment of the video by adding this to the end of the URL
    #t=0m56s

    ReplyDelete
  12. i found somemagic tool if embeding disable on http://blogger-templates.blogspot.com/2009/02/youtube-embed-magic-tool.html, is thath true?

    ReplyDelete
  13. can 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!!!

    ReplyDelete
  14. @Anonymous:

    Use http://www.youtube.com/v/BNGlf3hUyMY

    ReplyDelete
  15. http://www.youtube.com/watch?v=w8oPEJiCqi4#t=4m09s

    Here's the link construction to take you to the same start point you've set using the embed code.

    ReplyDelete
  16. 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?

    ReplyDelete
  17. 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).

    ReplyDelete
  18. Is it possible to add a stop time after the start? I would like to play only a small part of the video.

    ReplyDelete
  19. Great news... Now I can remove unwanted stuff appear at the beginning of youtube videos....

    ReplyDelete
  20. That'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.

    ReplyDelete
  21. One 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...)

    ReplyDelete
  22. Thanks, 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!

    ReplyDelete
  23. how do you start a youtbe video at certain time and stop at certain time in same embed

    ReplyDelete
  24. Is it possible to embed a song from a youtube video on a powerpoint?

    ReplyDelete
    Replies
    1. But you can easily download the song through catchmp3.net

      Delete
  25. thats gonna be a bit tough. you need to grab the song first.

    however, an easier way to share a youtube video from a specific moment is videoblast.it - i sort of like it..

    ReplyDelete
  26. http://splicd.com/vCk6qMKdAXk/170/184

    ReplyDelete
  27. Is there any open source cms out there that I can embed youtube video and create a site?

    ReplyDelete
  28. Will it work for all possible browsers? IE, FF, Opera, Chrome at least?

    ReplyDelete
  29. Hi I'm trying to link to this clip on 25 min and 5 seconds using:

    http://www.youtube.com/watch?v=860UkVLvEEE&start=1505&autoplay=1

    However it just starts at 00:00. Can you help out?

    ReplyDelete
    Replies
    1. http://www.youtube.com/watch?v=860UkVLvEEE&t=25m5s

      Delete
  30. Thanks, used it tonight on my site - PostSecret
    -Frank

    ReplyDelete
  31. How come this doesn't work?

    http://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?

    ReplyDelete
  32. 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...

    ReplyDelete

Note: Only a member of this blog may post a comment.