If you know how to copy and paste text, you can embed a YouTube video in a blog post or web page. Just click the Share link below the video window at YouTube, choose Embed, and copy and paste the html code that appears.
But what if you’d like the video you embed to start at a point partway in?
That’s just a bit trickier.
The source video for my previous post is more than an hour long. Here’s the html for embedding the whole thing as generated by YouTube:
<iframe allowfullscreen=”” frameborder=”0″ height=”315″ src=”http://www.youtube.com/embed/mnXHuqcH3Xg” width=”560″></iframe>
Using that code, the video would start from the beginning.
But I wanted it to start at 8:09: 8 minutes, 9 seconds in. To make that happen, I just added “t=8m9s” (without the quotation marks) at the end of the video’s url, which you’ll find after “src=” below:
<iframe allowfullscreen=”” frameborder=”0″ height=”315″ src=”http://www.youtube.com/embed/mnXHuqcH3Xg#t=8m9s” width=”560″></iframe>
The html for a simple link to the video, again starting at 8:09, is similar to the url in the embed code, but not identical:
<a href=”http://youtu.be/mnXHuqcH3Xg#t=8m9s“>Name of video here</a>As with the embed code, you can start with what YouTube generates for you, and just add the extra characters starting with the # character.