+
95
-

回答

直接让其src等于空就好了

<script>
  function stop(){
    document.getElementById("videoframe").src=''
  }
</script>

<iframe id="videoframe" width="400" height="200" src="http://www.bfw.wiki"></iframe>
<input type="submit" name="Submit" value="暂停播放"BfwOnclick="stop()" />


网友回复

我知道答案,我要回答