Embed Part Of A YouTube Video into your posts / website

The most straightforward way to embed a video while skipping the first XX seconds of it is to use the &start=parameter which works both for the “old-style” (“classic”) and iFrame player:
Old-style player:

 <object width=”425″ height=”349″><param name=”movie” value=”http://www.youtube.com/v/9_eRmA2ea8E?fs=1&amp;hl=en_US&amp;rel=0;&start=38“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/9_eRmA2ea8E?fs=1&amp;hl=en_US&amp;rel=0;&start=38” type=”application/x-shockwave-flash” width=”425″ height=”349″ allowscriptaccess=”always” allowfullscreen=”true”></embed></object>

embed part of youtube video

iFrame player:

<iframe width=”425″ height=”349″ src=”http://www.youtube.com/embed/9_eRmA2ea8E?rel=0&start=38” frameborder=”0″ allowfullscreen></iframe>

Likewise, there’s also the &end= parameter that makes the video stop playing at a specified time.

This entry was posted in Blog, Video streaming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *