[英]javascript - unpause an iframe after stopping it with “window.frames[0].stop()”
我正在为iframe创建一个播放/暂停按钮。 这是我到目前为止的内容:
<iframe src="full\test.html" width="250" height="150" style="border: none!important"></iframe>
<button onclick="javascript:(window.frames[0].stop())">Pause</button>
<button onclick="javascript:(window.frames[0].play())">Play</button>
第一个,“停止”,工作正常。 但是我不知道停止后如何再次播放iframe。 暂停后如何再次播放?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.