Embedding Youtube video
Soula-55 Nov 14, 2009 2:59 PM
I want to embed a youtube video on my web site. The code as given at the youtube site is:
<object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/AIHP3gYcV-I&hl=en_US&fs=1&rel=0&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AIHP3gYcV-I&hl=en_US&fs=1&rel=0&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>
I have inserted this code on my page, and when I open the page on Dreamweaver CS3, I get a message "This page contains object tags that may not work properly in the most recent versions of the internet explorer. To correct this problem, you can convert these tags to browser-safe scripts. Do you want Dreamweaver to convert these tags for you?
If I say YES, the code becomes as such:
<script type="text/javascript">
AC_AX_RunContent( 'width','280','height','234','src','http://www.youtube.com/v/AIHP3gYcV-I&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&bord er=1','type','application/x-shockwave-flash','allowscriptaccess','always','allowfullscreen ','true','movie','http://www.youtube.com/v/AIHP3gYcV-I&hl=en&fs=1&rel=0&color1=0x3a3a3a&co lor2=0x999999&border=1' ); //end AC code
</script><noscript><object width="280" height="234">
<param name="movie" value="http://www.youtube.com/v/AIHP3gYcV-I&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&bord er=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AIHP3gYcV-I&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&bord er=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="280" height="234"></embed></object></noscript>
Whether I say YES or NO, I can see the videos with Firefox, but I cannot see the videos on the page with Internet Explorer.
Can somebody help me solve this problem.
Thanks to all



