Aug 21, 2009

How To Add YouTube Video in Blogger

Browse YouTube, On the right panel there are url and embeded scripts.

Get the embeded scripts so that YouTube video can be embeded and viewed by user.

If you get any error, try to use Edit Html and place the embeded scripts and
click Preview to test the result.

Blogger composer may not allow XML end slash tag (< / >)
( I put larger space so that able to show you what is the XML end slash tag.

As example to explain the script here
I will temporary replace Smaller Tag with { and Larger Tag with }
So that I am able to use this {/ value }

//start object tag and standard youtube size 425 x 344
{object width="425" height="344"}

//YouTube video url, Language is English
{param name="movie" value="http://www.youtube.com/v/abcdefg&hl=en&fs=1&"}
{/param}

//Allow FullScreen Option
{param name="allowFullScreen" value="true"}
{/param}

// Always allow scripting access for ads and other interaction scripts
{param name="allowscriptaccess" value="always"}{/param}

//Real embeded flash YouTube Scripts
{embed src="http://www.youtube.com/v/abcdefg&hl=en&fs=1&"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true" width="425" height="344"}
{/embed}

//end object tag
{/object}


Bookmark and Share

No comments:

Post a Comment