In this blog post, I'm going to tell you how to add a YouTube video player plugin in your blogger blog. There are many reasons to do this, the first reason is to increase video views to become more popular on YouTube, the second reason is o gain subscribers on YouTube. So this widget is very useful for a video blogger. For applying this widget, you must know your YouTube video ID. also you need to upload the video on YouTube in order to preview it on blogger.
Read: How To Find YouTube Video ID
see the image given below to understand what is video ID and where to find it. In your video URL it is placed at "www.youtube.com/watch?v=Video-ID" it is generally a 10 digit code.
How To Add the Widget Code
<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<object 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/Video-ID/0.jpg" height="345" width="615"><param name="movie" value="http://youtube.googleapis.com/v/DyCcFi3bdok&source=uds" /><param name="bgcolor" value="#FFFFFF" /><param name="allowFullScreen" value="true" /><embed width="615" height="345"
src="http://youtube.googleapis.com/v/Video-ID&source=uds" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></div>
</div>
In the code given above, replace Video-id with your desired video-ID, width and height to the desired width and height you want. After replacing add this code as a html/java script anywhere in your blog layout.
0 comments:
Post a Comment