Wednesday, May 25, 2011

[YouTube-API] Video embed error in IE8

I am trying to embed any video in an HTML page, I need access to API using js, but it does not work. The video is loaded but the API is not available:

    <object   style="height: 405px; width: 720px">        
       
<param name="movie" value="http://www.youtube.com/v/u1zgFlCw8Aw?version=3&enablejsapi=1&playerapiid=ytplayer&rel=0&autoplay=0&egm=0&loop=0&fs=1&hd=0&showsearch=0&showinfo=0iv_load_policy=3&cc_load_policy=1"/>
       
<param name="allowFullScreen" value="true" />
       
<param name="allowScriptAccess" value="always" />
       
<embed  src="http://www.youtube.com/v/u1zgFlCw8Aw?version=3&enablejsapi=1&playerapiid=ytplayer&rel=0&autoplay=0&egm=0&loop=0&fs=1&hd=0&showsearch=0&showinfo=0iv_load_policy=3&cc_load_policy=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always"  height="405" width="720" />
     
</object>


--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment