How to Link to a Specific Time in YouTube Videos

It's easy to link directly to a specific time in a YouTube video. All you have to do is add a t parameter to the end of the URL that indicates the time position in seconds. Here's an example that links to Post Malone's Nirvana tribute benefit concert for the coronavirus pandemic 118 seconds in when the performance begins:

https://youtu.be/f7eaGcIyhPU?t=118

The t=118 parameter causes the video to begin playing one minutes and 58 seconds after the beginning. There's also a way to accomplish the same thing when embedding a video. Add a start parameter to the video's embedded URL in the iframe tag. The value of start should be the number of seconds to skip before playback.

For a shortcut to this command, pause a YouTube video, right-click the video and choose Copy Video URL at Current Time.

Here's the embedded HTML code for the Post Malone concert starting 118 seconds in:

<iframe width="640" height="360" src="https://www.youtube.com/embed/f7eaGcIyhPU?start=118"
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>

This HTML markup begins the Post Malone concert at the designated mark once a viewer chooses to play it.

For a shortcut, pause a video, click the Share button underneath it, choose embed, and click the Start At checkbox. When you click the Copy button to close the dialog you'll have HTML code you can use for playback at that time.

Comments

Thank you, I've been always wondering how to do that!!!

how do u specify when it's gonna end?

good to know. how does this work in comments?

Hey, Jason
This link tells you how to post time in the comment.
www.google.com

just click or mouse over the google link above, you'll see the whole thing.

www.youtube.com

I'm developing a video-centric site for a client and this information was super helpful -thanks!

Thanks for the info! I've been trying to figure out a way to link to specific vid times.

Great tutorial.
I did not know this was possible

This is awesome.

I updated the post with some newer techniques to do this and picked a new video for the example. Post Malone is surprisingly good as a gravel-throated grunge rocker.

Add a Comment

These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. A comment may not include more than three links. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).