How To Set Start and End Times On YouTube Embeds

By Megan O'Neill 

Have you ever posted or embedded a video along with a note telling people to just watch a specific section of the video?  When you share a video link from YouTube you can select an option for the video to ‘Start at’ a specific spot in the video, and in a post that went up on the YouTube API blog last week, Jarek Wilkiewicz of the YouTube API Team explains how you can embed a video with start and end times as well.

Before we get into the start and end times for embeds, I just want to quickly explain how to set up a YouTube link so the video will start at a specific point, for those that don’t already know.  When you are on the video page, click ‘Share’ then ‘Embed.’  Click on ‘Options’ and you’ll see a check-box where you can check ‘Start at’ and indicate the minute and second mark you’d like your video to start.

And now, on to adding start and end times to YouTube embeds!

Wilkiewicz writes, “If you enjoy the ability to easily start video playback at a specific time using the start parameter, you may also like being able to stop it early… The end parameter is a positive integer, and it represents the number of seconds from the beginning of the video.”

So say you only want to embed a the part of the ‘Surprised Kitty’ video where the guy says “Ohhhhh…you look like a little mokey!”  You’d head over to the video page, grab the embed code and then simply add the start and end parameters as follows (in bold) including the second mark where you want the video to begin and where you want it to end:

<iframe width="420" height="315" src="" frameborder="0" allowfullscreen></iframe>

Megan O’Neill is the resident web video enthusiast here at Social Times.  Megan covers everything from the latest viral videos to online video news and tips, and has a passion for bizarre, original and revolutionary content and ideas.