Play and Embed YouTube videos from a Specific TimeStamp
YouTube is a huge hub of interesting videos. Just say, you’ve found a video clip which has some interesting part in the middle or at last and is stuffy or bit boring in the starting. Now, watching that video full will be a waste of time, so what would you do to focus the interesting part only while sharing the video with your friends?
Well, many of you probably know about the trick to play YouTube videos at a specific timestamp, which is useful in case when you want to focus a specific part of a video.
Play YouTube videos at a specific timestamp
Say, your YouTube video is of 5 minutes in length and you want to play it from 2 minutes 45 seconds, it’s simple, you’ll simply move the slider to 2:45. But to let others watch the same video clip starting from 2:45, add t=02m45s at the end of the video URL, copy the whole URL and send it to them.
http://www.youtube.com/watch?v=LH9q7-rncZs&feature=player_embedded
After adding the time tag, it will become:
http://www.youtube.com/watch?v=LH9q7-rncZs&feature=player_embedded#t=02m45s
If the URL is: http://www.youtube.com/watch?v=LH9q7-rncZs
Then it will become: http://www.youtube.com/watch?v=LH9q7-rncZs#t=02m45s after modification.
In t=02m45s, the part after t= and before m is the number of minutes and part m and before s is the number of seconds from where you want to start the video. You can modify these minutes and seconds parts according to your need.
Embed YouTube videos starting from a specific timestamp
After grabbing the embed code of the video from YouTube, do the same thing we did above with the video URL in the code. See below given code for an example:
<iframe width="600" height="335" src="http://www.youtube.com/embed/LH9q7-rncZs#t=02m45s" frameborder="0" allowfullscreen></iframe>
If you are using the old embed code, then use the &start property in your code, just like the following code:
<object width="560" height="315">
<param name="movie" value="http://www.youtube.com/v/LH9q7-rncZs?version=3&hl=en_US&start=165"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/LH9q7-rncZs?version=3&hl=en_US&start=165" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>
In the above code &start=165 means the video will start from 2 minutes 45 seconds (60sec+60sec+45sec=165).
Now, you can use the modified embed code anywhere you want to show your YouTube video playing at a specific time. Don’t forget to subscribe me on YouTube!