youtube start end time embed

How To Embed Youtube Videos with Specific Start and End Times

Ever wanted to share just a short part of a long video on your blog? Sometimes we come across a quite long video on Youtube and pick up something from it that we want to share. It can be a problem if we want to share only a certain part of it and not the rest of the video.

That’s the trouble I was facing when I wanted to embed a Youtube video on this post. [Update: the video on that post has been replaced already]

Fortunately, if it’s on Youtube, you don’t really have to download the video, edit it yourself and re-upload the part you want to share. That will take too much time. Here’s how to quickly embed a Youtube video with specified start time and end time.

  1. First thing you have to do is of course get the specific time you want your embedded video to start and the specific time you want it to end at. Then convert them into seconds. Let’s say you want to embed only the part of the video starting from 02:16 up to 02:58.
    In seconds, your start time would be ( 2 * 60 ) + 16 = 136 and your end time would be ( 2 * 60 ) + 58 = 178.
  2. Next, grab the embed code from the Youtube video, and append the following parameters to the video URL in the embed code:
    Replace [your_start_time] and [your_end_time] with your actual start and end times in seconds so that your embed code would look like this:

The version parameter there specifies the Youtube player version that should be used for your embedded video. Version 3 is the only version that supports the end parameter so if you want to specify an end time for your embedded video, make sure to specify version 3 as the player to be used in your embedded video.

If you only want to specify a starting time and no end time, you can just omit the end parameter entirely.

And that’s it, your embedded video should only play the part that you have specified. Just like in the following example:


People don't really know what they want until they learn about it. Marketing educates people about what they want. I'm a marketer, therefore I'm an educator.