Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery Wmode=transparent和autoplay=1不能一起工作_Jquery_Actionscript 3_Iframe_Youtube - Fatal编程技术网

Jquery Wmode=transparent和autoplay=1不能一起工作

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

我有一个来自youtube的播放器嵌入到html页面中,当页面加载时我需要播放它,因为我有一个按钮来移除播放器,所以我需要wmode=transparent,这样我就可以在上面定位元素

这是我使用的播放器的代码:

<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&amp;wmode=transparent" frameborder="0" allowfullscreen></iframe>


您正在使用
而不是
添加第二个参数&

url查询字符串的正确语法如下:

<iframe width="560" height="235" src="http://www.youtube.com/embed/vUd6TpdFLl4?autoplay=1&amp;wmode=transparent" frameborder="0" allowfullscreen></iframe>


您正在使用
而不是
添加第二个参数&

爱你很久的男人!我不知道:D。非常感谢。爱你很久的男人!我不知道:D。非常感谢。