Wednesday, November 2, 2011

How to add YouTube Video


For many reasons Blogger can embed Video in posts. A post about funny things can. If you want to insert your own video, then sign up for a YouTube account. Then upload video in your account and get the embed code. You will get this code at right upper corner.
Suppose you want to add this video in your post. http://www.youtube.com/watch?v=FntX6JPqojg
Get the embed code.

The code look like below. You can choose video width and height as your choice.
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/FntX6JPqojg&hl=en&fs=1&">
</param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always">
</param>
<embed src="http://www.youtube.com/v/FntX6JPqojg&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</embed></object>
Now you have the embed code of your blog. Go to your "edit post" or "New Post" option in which you will insert the video. Change from "Compose" mode to "Edit HTML" mode. Paste the HTML code in your preferable place. Publish the Post. You are done now. Above code create the following video in Blogger post.




Sohel Parvez Web Developer

No comments:

Post a Comment