我已经在我的网页中实现了一个IFRAME,该IFRAME指向另一个域来捕获视频内容.
我的网页里没有什么花哨的东西,iFrame也是标准的:
<iframe id='frame' src='domain.com/stream/324/index.m3u8' width='100%' allow='autoplay; encrypted media' frameborder='0' allowfullscreen></iframe>
我想添加按钮outside the iframe to mute or unmute the video,即使玩家的控制器存在.
我怎样才能做到这一点呢?