它不会出现在IE8中。我不确定是什么问题。
<object type="application/x-shockwave-flash" style="width:360px; height:295px;" data="http://www.youtube.com/v/nwzbAnyThGU?rel=0&loop=1&showsearch=0">
<param name="movie" value="http://www.youtube.com/v/nwzbAnyThGU?rel=0&loop=1&showsearch=0" />
<param name="allowFullScreen" value="true" />
<param name="allowscriptaccess" value="always" />
</object>
我感谢你们给我的任何帮助。
答案 0 :(得分:0)
如果您不打算使用使用iframe的新嵌入代码,请尝试使用此代码:
<object width="360" height="295">
<param name="movie" value="http://www.youtube.com/v/nwzbAnyThGU&rel=0&hl=en_US&feature=player_embedded&version=3"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="http://www.youtube.com/v/nwzbAnyThGU&rel=0&hl=en_US&feature=player_embedded&version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="360" height="295">
</embed>
</object>
新的嵌入代码本身就是这样:
<iframe width="360" height="295" src="http://www.youtube.com/embed/nwzbAnyThGU?rel=0" frameborder="0" allowfullscreen></iframe>