2

为什么我的视频没有加载?我收到消息“电影未加载”。这是代码。

<div id="cel_2" class="youtube"><object width="600" height="600">
           <param name="movie" value="http://www.youtube.com/watch?v=yyy44xBlI44"></param>
           <param name="allowFullScreen" value="true"></param>
           <param name="wmode" value="transparent"></param>

           <param name="allowscriptaccess" value="always"></param>
           <embed
              src="http://www.youtube.com/watch?v=yyy44xBlI44"
              type="application/x-shockwave-flash"
              allowscriptaccess="always"
              allowfullscreen="true"
              wmode = "transparent"
              width="600"
              height="600">
           </embed>
        </object>
4

2 回答 2

2

您最好使用他们在共享选项下为您提供的 youtube 嵌入代码。

<iframe width="420" height="315" src="http://www.youtube.com/embed/yyy44xBlI44" frameborder="0" allowfullscreen></iframe>

看看这是否有效。

于 2012-05-29T16:06:41.263 回答
1

the src does not mean swf source but iframe source, your script will never work try using the given iframe, like the anwser of @Art Williams

于 2012-05-29T16:46:56.680 回答