我有一个YouTube嵌入的视频链接在HTML5页面,我想
autoplay。
下面的代码在浏览器中工作,但在iphone中;它不工作,需要一个额外的点击。
<iframe type="text/html" width="125" height="100" src="http://www.youtube.com/embed/d_g0251EfB8?autoplay=1" frameborder="0"></iframe>
该怎么办
解决方法
它不能做。由于各种原因(包括但不限于数据使用),Apple不允许视频自动播放。