我想从iframe中隐藏youtube按钮。我正在使用html5。这是我的代码。请检查这不起作用。我如何隐藏按钮。我也使用了youtube属性,但不起作用。
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/5Rjs9R3EP2k" frameborder="0" allow="picture-in-picture" allowfullscreen>
</iframe>
</div>
我想尝试一下,这是正常工作:-
<iframe width="560" height="315" src="https://www.youtube.com/embed/5Rjs9R3EP2k?controls=0" frameborder="0" allow="picture-in-picture" allowfullscreen>
</iframe>
您使用venobox库设计iframe部分