Jquery Wmode=transparent和autoplay=1不能一起工作
我有一个来自youtube的播放器嵌入到html页面中,当页面加载时我需要播放它,因为我有一个按钮来移除播放器,所以我需要wmode=transparent,这样我就可以在上面定位元素 这是我使用的播放器的代码:Jquery Wmode=transparent和autoplay=1不能一起工作,jquery,actionscript-3,iframe,youtube,Jquery,Actionscript 3,Iframe,Youtube,我有一个来自youtube的播放器嵌入到html页面中,当页面加载时我需要播放它,因为我有一个按钮来移除播放器,所以我需要wmode=transparent,这样我就可以在上面定位元素 这是我使用的播放器的代码: <iframe width="560" height="235" src="http://www.youtube.com/embed/vUd6TpdFLl4?autoplay=1?wmode=transparent" frameborder="0" allowfullscreen
<iframe width="560" height="235" src="http://www.youtube.com/embed/vUd6TpdFLl4?autoplay=1?wmode=transparent" frameborder="0" allowfullscreen></iframe>
如果我只使用其中一个,它们工作得很好,但是如果我把它们放在一起,它们都不工作
知道我做错了什么吗?url查询字符串的正确语法如下:
<iframe width="560" height="235" src="http://www.youtube.com/embed/vUd6TpdFLl4?autoplay=1&wmode=transparent" frameborder="0" allowfullscreen></iframe>
您正在使用
?
而不是添加第二个参数&代码>url查询字符串的正确语法如下:
<iframe width="560" height="235" src="http://www.youtube.com/embed/vUd6TpdFLl4?autoplay=1&wmode=transparent" frameborder="0" allowfullscreen></iframe>
您正在使用?
而不是添加第二个参数&代码>爱你很久的男人!我不知道:D。非常感谢。爱你很久的男人!我不知道:D。非常感谢。