iPhone上,為什么在調(diào)用video的play方法之后video不會(huì)直接播放,而還需要用手點(diǎn)一下video元素,才會(huì)開始播放<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>
下面的代碼,為什么還需要用手點(diǎn)一下video元素,才會(huì)開始播放
慕標(biāo)5832272
2023-04-04 13:09:57