Problem
How to add video from YouTube to your blog.
Solution
- Add a random video from YouTube and copy the HTML code (example bellow)
- Find your video id on YouTube
- Replace in the HTML code the 3 places with old id lU1GXLSVQOk with the new ID l4JCBq1aXKE
<div class="separator" style="clear: both; text-align: center;">
<object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://img.youtube.com/vi/lU1GXLSVQOk/0.jpg"><param name="movie" value="http://youtube.googleapis.com/v/lU1GXLSVQOk&source=uds" /><param name="bgcolor" value="#FFFFFF" /><param name="allowFullScreen" value="true" /><embed width="320" height="266" src="http://youtube.googleapis.com/v/lU1GXLSVQOk&source=uds" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></div>
No comments:
Post a Comment