How can I autoplay a video using the new embed code style for Youtube?
我的代码遵循这些说明并且不起作用.我也看过YouTube的帮助,他们说同样的话 – 对我不起作用.
<html><body> <iframe width="640" height="385" src="//www.youtube.com/embed/0319ZgKMLzw?autoplay" frameborder="0" allowfullscreen></iframe></body> </html>
看到它不是自动播放here,代码在firebug中.
解决方法
将您的嵌入代码编辑为“?autoplay = 1”并添加“http://”.这是你的工作代码……
<iframe width="640" height="385" src="http://www.youtube.com/embed/0319ZgKMLzw?autoplay=1"> </iframe>