Sometimes Bloggers or webmasters may want to embed only a portion of a
YouTube video in blog posts or pages. For example, you are embedding a jukebox of songs from YouTube but want the visitor to focus of one particular song that begins at ‘
a’ seconds and ends at ‘
z’ seconds. When the song has finished, the embedded clip should stop playing irrespective of the length of the video.
We have shared some useful YouTube-related tips so far. Here are
5 Steps To Make Money On YouTube and way to
play Youtube videos in VLC media player. In this post I'm going to share "How To Embed Only a Portion Of a YouTube Video In Blog Post". Take a look at article:
Embed YouTube Video With Start Time
With this method you can embed video with a start time and let it play till the end. Use the standard embed code:
<iframe width="500" height="300" frameborder="0" allowfullscreen src="http://www.youtube.com/embed/VIDEO_ID#t=1001s"></iframe>
Note: Replace VIDEO_ID with the ID of your YouTube video and replace 1001s with the start time (in seconds). For example, if you want the video to start playback at the 05:25 (mm:ss) mark, you’ll specify the time as t=325s (60*5 + 25).
Embed YouTube Video with Start & End Time
The following YouTube video from Google Fiber Launch Announcement event is 58 minutes long but I have just embedded 4-minute segment (
16:55 – 17:42). Hit the play button inside the embedded player for a quick demo.
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Video-ID&start=1015&end=1062"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Video-ID&start=1015&end=1062" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Also See -
How To Embed YouTube As An Audio Player In Blog
Note: Replace the Video-ID, the start time (in seconds), the end time (in seconds), choose width and height of player as per your needs.
Author - Gagan Masoun is the owner of Blogs Daddy Blog. Gagan lives in India, has been blogging since 2010 and writing Blogs Daddy Blog since 2011.You can follow him on twitter
@BlogsDaddy. You can also follow him on
Google+.
0 comments:
Post a Comment