Play Embed YouTube Video at Specific Start Time
Have you ever thought that of playing a youtube embed video to automatically at a specific point in the video ?. Now, you can have the embed video posted to your blog or website at desired start time by using the feature provided by YouTube embedded player. There's an easier way. Simply grab the embed code and then modify it just a little to make the video start at the point you want.
Here's how to do it:
When embedding a YouTube video, you can add a “start” parameter to define the number of seconds at which the video should start, Copy the YouTube code you want to embed from the video information column on the YouTube video page. Paste the code into your text editor to make the changes.
HTML Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/EaSL7XinAvk&hl=en&fs=1&[B]start=20[/B]"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EaSL7XinAvk&hl=en&fs=1&[B]start=20[/B]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
After adding the start parameter, add this embed url in your site or blog. post this code as embed video to start at pre-defined start time.
YouTube embedded player also provide auto play feature to auto play the video when it is launched. If you want add that feature to your video, You can achieve this by adding the &autoplay = which will cause the video to start playing from the point inside the video as soon as the page loads.
the embed URL as shown at below:
HTML Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/EaSL7XinAvk&hl=en&fs=1&[B]start=20&autoplay=1[/B]"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EaSL7XinAvk&hl=en&fs=1&[B]start=20&autoplay=1[/B]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Re: Play Embed YouTube Video at Specific Start Time
Ive faced problem using with Firefox , in IE I tried just putting the url specified by "src=" into the IE address bar and it worked, displaying the video starting at the specified time. but in firefox it asked me what I wanted to open "l.swf" with. i think there is a problem with using it in firefox.
Re: YouTube Allows You to Start Playing Embed Video at Specific Start Time
Its a great feature, it will be useful specially when you are playing a big 30 minutes video, but there is a disadvantage because Some videos may not have the "fs=1" parameter, because the embed code was grabbed before that parameter was included. You can also link google video in a similar way, you can do this by adding #XXmYYs to a URL.