Loading

Tuesday, December 15, 2009

How to start a YouTube video at a certain point

In order to start a YouTube video at a certain point you would add this to the video URL:
#t=2m25s
Where “2m” indicates 2 minutes and the “25s” indicates 25 seconds. So, the following will cause the video to begin playing at 2:25 of the video:

http://www.youtube.com/watch?v=dMH0bHeiRNg#t=2m25s

This method only works for directly linking to YouTube videos.  But, what if you want to start an embeded YouTube video at a certain point?  That's simple as well.

First, grab the video embed code after specifying your desired settings.


It will look something like this:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/dMH0bHeiRNg&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dMH0bHeiRNg&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
You need to add the command &start=145 (for this example we are using 145 seconds, which is the same as 2 minutes, 25 seconds) to the end of both URLs in the embed code.  It will look like this:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/dMH0bHeiRNg&hl=en_US&fs=1&rel=0&start=145"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dMH0bHeiRNg&hl=en_US&fs=1&rel=0&start=145" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
Don't believe me?  Just click the embeded video below and see for yourself.


"Well that's just great!" By Nikki of Nikki and Jon, AKA Pranksters In Love.


"Evolution of Dance." One of the most popular YouTube videos ever.

2 comments:

  1. This is incredible. I have seen a lot written about how to start youtube videos at a certain point, but this is the easiest to follow. It's so easy a caveman could do it! Thanks powercram!

    ReplyDelete
  2. thanks it really helps.

    ReplyDelete