如何使用javascript/jquery或属性HTML5禁用iframe中的自动播放功能,我禁用了iframe中的自动播放功能。在iframe中禁用了html5或javascript的自动播放功能
代码:
<div id="vds" class="embed-responsive embed-responsive-16by9" style="margin-top: -100px;">
<iframe class="embed-responsive-item" {% if profil.pageAccueil %}{%if profil.pageAccueil.video!=""%}src="{{profil.pageAccueil.video}}"{%else%} {{pageAccueil.video}} {%endif%}{%endif%}></iframe>
</div>
你能告诉你的代码?请阅读http://stackoverflow.com/help/mcve – lxx
我编辑我的问题,我让我的代码 –