Start an embedded YouTube video at a certain timestamp

March 3, 2010

in Google/SEO, Movies/Videos

In a previous post I covered how to link to a specific timestamp in a YouTube video. The short version looks like this:

http://www.youtube.com/watch?v=PjDw3azfZWI#t=31m08s

The “#t=31m08s” takes you to 31 minutes and 8 seconds in a video. I just found out that you can also start embedded videos at a certain timestamp.

To do it on an embedded video, use the “start” parameter. Note that start takes seconds as a parameter, not minutes and seconds. For example, to start an embedded video 31 minutes and 8 seconds into a video, 31*60+8 = 1868 seconds, so you would use this code:

<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/PjDw3azfZWI&hl=en_US&start=1868"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PjDw3azfZWI&hl=en_US&start=1868" type="application/x-shockwave-flash" allowscriptaccess="always" width="640" height="385"></embed></object>

and it would look like this:

That’s all there is to it. :)

{ 42 comments… read them below or add one }

Chris Arkwright March 3, 2010 at 12:36 pm

This is an incredibly useful tip! Really makes it A LOT easier to reference information or particular points within videos. Plus, it really lets you choose what shows up as the video thumbnail. Nice!

Troy March 3, 2010 at 12:36 pm

Very neat. What about a stop parameter? Or maybe start-stop-start-stop…then I can just pull “sound bites” out of a video without editing :) Maybe this is already possible? Please expand if so.

Otto March 3, 2010 at 12:38 pm

Too bad this doesn’t work for people using oembed.

It *could* work, if YouTube passed the # bit along to the oembed URL, which returned the proper start parameter… hint, hint…

Paul March 3, 2010 at 12:44 pm

Matt,

Great tip. Thank you! Do you know if there is a way to embed a YouTube video with a screen shot at a certain time but still start at 0:01?

Matt Cutts March 3, 2010 at 12:49 pm

Troy and Otto, good suggestions. I particularly like the idea of a “stop” parameter so I could highlight just the part of a video that I cared about. Be aware that because of the way that videos are encoded (MPEGs for example), they may have normal images (an “i-frame”) or the frame might be “predicted” from other images in the video (“p-frame”). You can even have “b-frames” which are bi-directionally predicted from a previous frame and a frame that will occur later in the video stream.

That’s a long-winded way to say that getting frame-level accuracy is hard; you might say “start at 1868 seconds into the video” but the video might need to start rolling at 1867 seconds to be able to reconstruct the video frames.

But I agree, this would be nice.

Nermin Hadzikadunic March 3, 2010 at 12:59 pm

It would be really cool if you could put together piece that would consist of x different videos. That way you could play video #1 for x time and then start with video #2 for x time and then move to video #3 for x time.

With that you could make FAQ, Top 10 things and so on with only internet connection. No software needed at all :) . Cloud video computing here we come.

Next wedding video will be done from Youtube videos :)

NoodleGei March 3, 2010 at 1:23 pm

I’m using sometimes this Tool from Apture.
You can install a Plugin (Website/Blog) or you can use the Apture Builder.
You can setting a Start AND Stop-Time for Videos, Width and Hight etc.

PS: I am not a Apture-Partner, only a early user ;-) .

Vinny March 3, 2010 at 1:34 pm

I have to agree Nermin about piecing together a number of videos. If there is a particularly relevant section in the video, could it be searched that way? For example in the video above: Eric Schmidt speaks about Google creating a Twitter page based on a question posed. Would someone be able to search for “Eric Schmidt talks about Google and Twitter” disregard the quotes, just for emphasis.

Evans March 3, 2010 at 3:44 pm

This is great for referencing as normally if u are quoting something from a book you write it’s reference in a particular format but this is cool as you can quote ‘Larry Page said ….’ and for reference embed a video that starts @ the time that he actually say that. Awesome! News websites should already be using this but I guess not a lot of people know about this.

Dave (Original) March 3, 2010 at 10:09 pm

Bit like walking into a Movie half-way through :)

Jaysongbsn March 3, 2010 at 11:20 pm

Great tip! It’ll definitely come in handy. The ability to stop would be a welcomed addition, but it seems like that may take a bit to figure out.

I like the video though Matt!! Thanks for sharing – certainly wish it didn’t take 1 year to find me.

Ian M March 4, 2010 at 3:26 am

It would also be great if YouTube would make it easier to disable annotations. I utterly *hate* them and have never seen a case where I would prefer them on rather than off.

It’s possible to do via a URL parameter on the video, but I think it’s important enough to include as a checkbox in the embed code generator, as I think many people would use it.

Freddie March 4, 2010 at 4:07 am

What I’d like is a way to choose both start and end time for the embedding. That would be very useful to highlight when there’s a certain segment that’s interesting.

Budi Adi Santosa March 4, 2010 at 6:07 am

Thanks for this brilliant tips … is seem we could “highlight” the wright moment in this video content. The wright moment at the wright place ! Regards …

Nigel March 4, 2010 at 7:17 am

If you have start and you have stop, then the next thing might be ‘pause’ and ‘comment bubble’.
e.g. (script) Start at 1868 seconds, pause 20 seconds at 1885 with comment “Eric sucks lemon, tries to figure out how to make it into lemonade”. Stop at 1995. (/script)

Ah but then we get into general scripts for playing video, if you can play one video and control how it’s played, then why not many? e.g. Player video 2947845 1020 seconds to 1070 seconds, fade, play video #38577 1080 to 1090 seconds, etc.

Erm, thinking about it, there is this site
http://mixerbeta.jaycut.se/mixer

Which mixes video online.

Imagine a mashup tool that let you edit YouTube videos, not by actually editing youtube videos, but rather by constructing the play script needed to replay them. They edit the play script with fades and transitions, and can just click play and the script runs and the video replays.

Alistair March 4, 2010 at 7:21 am

Is there a reason that you’re aware of why the start parameter doesn’t use the same format of minutes & seconds?

Sadie March 5, 2010 at 2:37 am

Thanks for the cool tip! Its nice that you can add videos starting from a certain point, coz you might have a long video but only the last 15 minutes might be relevant to what you wanna share (on a blog, etc.)..so now instead of showing a lot of irrelevant information first, you can get straight to the point!

Sangeetha Mohandass March 5, 2010 at 3:08 am

Very useful & cool tip.. thankx matt..

Nick Dumitru March 5, 2010 at 8:45 am

I love it when you post these really useful tidbits. I found this genuinely helpful. thank you.

sujit March 5, 2010 at 11:41 pm

It really works fine ! thnx

Theo March 8, 2010 at 1:33 am

Awesome, just looking for something like that.

Thank you for the great tip.

Dena March 9, 2010 at 4:49 am

Really neat… This makes linking a part of the content in YT videos much easier :)

John March 9, 2010 at 5:10 pm

Wow it really works… Thanks matt :) it’ll make things much easier

Glenn fm Naples March 10, 2010 at 6:06 am

Hey Matt,

Thanks for the helpful hint. Can definitely use that when embedding a video into either my blog or website. Never knew it was possible to set a specific timestamp.

Ron March 10, 2010 at 12:05 pm

Thanks Matt! This exactly what I was looking for to post a video for a friend at a particular time interval in the video. I have always wondered how to do this.I didn’t know it was possible. Now I can reference a lot of videos. :)

thanks again

Scott Ludtke March 11, 2010 at 3:26 am

Greetings Matt:

This comment may be off topic a little bit, but in my opinion it is an important question which perhaps you may be able to offer a solution/change to?
It appears that when I embed a YouTube video into any given site, when I validate the HTML/XHTML with (http://validator.w3.org/) there always appears to be issues of missing attributes. Is there a programming solution which could be offered so that this does not have to be performed manually?
On topic now… This is a great post and I really appreciate you taking your time to offer little tidbits and tricks such as these.
Have a great week!

~Scott

Dan Horton SEO March 11, 2010 at 11:47 am

Great tip, been looking for this for some time now thanks Dan

Bibokz March 11, 2010 at 8:25 pm

Wow… It’s working. It would be great. Got to think of the new scenario how to use this on my campaign. Thanks Matt!

Alex March 11, 2010 at 10:49 pm

Thanks matt, I was wondering if there is a way I can also pass the ’stop’ parameter like I want the video to be played from 51st second to 192nd second and don’t want the rest?

Veronica March 12, 2010 at 6:37 pm

This is a bit off the subject, but will I see you at our 20 year reunion?

Tshanina March 13, 2010 at 9:29 am

I was so excited to run across this information. Thank you for the info. I am new to the world of blogging and am still learning. However, I’m trying to embed a video (not Youtube) and would like it to have a timestamp on when it starts. Can I do this with a video other than from Youtube? Thank you for your time.

Tony March 17, 2010 at 2:28 pm

That’s a great tip. I develop websites, so knowing this is really helpful. I think including YouTube videos on websites is a great thing to do. Many clients ask us about putting video on their websites and we tell them to use YouTube because you get the added benefit of getting traffic from YouTube even though it’s easy to embed Flash video right on their own site. More tips like this would be great.

Amy Moore March 18, 2010 at 4:52 pm

You have no idea how helpful this little tip is going to be! You just opened up a whole new door for me as I want to post videos to my personal blog but sometimes it just takes way too long for them to get to the point of reference.

Dave Shields March 31, 2010 at 8:34 am

All I can say is OUCH. The version that I was served had absolutley NO sound. Instead it had SUBTITLES. Were they speaking in a non-english language??
Although I disagree with some of the moves that Google has made, I am NOT one of those who likens Google to ‘Big Brother’.
With all the clamor about Google’s secrecy etc. you could not have handed your detractors a bigger load of ammunition. A video on YouTube depicting the Google’s CEO speaking with no sound, just subtitles, is bound to look like a coverup to many Google critics. For pete’s sake find and attach the sound file so that this criticism cannot get started. There must obviously be a sound file, as there ARE subtitles.
Keep you blog coming.
Dave

Allison March 31, 2010 at 1:05 pm

Hello – does this code work for all video hosting sites or simply just for YouTube? I’m currently using Viddler but would like this functionality as well.

Thanks!

ste March 31, 2010 at 5:10 pm

Very handy, I’ve been looking for something like this – I just wish they’d put this kind of thing somewhere easy to find on the actual site rather than me having to google for ages lol.. thanks matt :D

Gilbert Midonnet April 4, 2010 at 6:26 am

This is a great tip. This certainly helps in pinpointing the user to the correct place in a video but it doesn’t help in the presentation of numerous video clips. I’m still working out some of the usability issues in including video in text. There isn’t a problem when you have a one-one relationship: x said “this” and you show the clip of “this.” But when you have numerous clips the presentation can become more difficult.

Tyler Williamson April 5, 2010 at 8:30 am

It’s the neat, cool little tips and tricks like this that you deliver us that set the blogs and sites of those of us who follow your stuff apart from those who don’t. Great stuff.

Encinitas Homes April 9, 2010 at 6:42 am

Wow! This would be great! I just hired a company to make videos showing my properties that I have for sale and I really didn’t like some of the information they put at the beginning. I wanted to just skip to a view of the house and not my name first which they did. Since they have no way of going back and fixing the videos, I’ll forward them this idea to see if we can just start them a few seconds into the videos for my blog. Thanks so much for the helpful tip!

Linda Darby April 9, 2010 at 6:44 am

I had been thinking of something like this for a while but was too lazy to investigate. Glad I happened to run across this useful technique while religiously reading your blog, Matt. Thanks. :)

Kumar June 13, 2010 at 8:03 am

Start an embedded YouTube video at a certain timestamp.
By giving a value such as start=10 you could skip the ad (your video will start in 10seconds) that show in the begining.
I was wondering how to implement the start=nn for various songs embedded through a playlist.

Nick June 23, 2010 at 9:54 am

As for adding a STOP parameter: There is this website http://www.splicd.com , that let’s you enter a YouTube URL, a start and a stop time, and then it generates a unique link for you to a ‘chopped’ version of the video. But the link you get looks like http://splicd.com/… , so you can’t really tell, what they did to make the video stop at the desired time. Anyone any idea?

Leave a Comment

If you have a question about your site specifically or a general question about search, your best bet is to post in our Webmaster Help Forum linked from http://google.com/webmasters

If you comment, please use your personal name, not your business name. Business names can sound salesy or spammy, and I would like to try people leaving their actual name instead.

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: