iPhone上,为什么在调用video的play方法之后video不会直接播放,而还需要用手点一下video元素,才会开始播放<video id="myvideo" src="" width="352" height="288" autoplay></video><script>var vdo = document.getElementById('myvideo');vdo.src = 'http://iphone.starv.tv:9902/ACB46F8429AEC2CC-live-1.m3u8?key=rtsp%3A%2F%2Fs.starv.tv%3A554%2Flive%2F1%2FACB46F8429AEC2CC%2FFcsrVZaoQv9me9DH.sdp';vdo.play();</script>
- 2 回答
- 0 关注
- 120 浏览
添加回答
举报
0/150
提交
取消