微信H5 video 苹果手机没写 autoplay 结果自动播放了,并且播放按钮还没消失

微信H5 video 苹果手机没写 autoplay 结果自动播放了,并且播放按钮还没消失

微信H5 video 苹果手机没写 autoplay 结果自动播放了,并且播放按钮还没消失,监听不到播放

<video

id="myVideo"

:src="/uploads/cj/article/2020/07/30/b319d27b969e0e76bc7962138986d4e0.jpg"

:poster="/uploads/cj/article/2020/07/30/b319d27b969e0e76bc7962138986d4e0.jpg"

auto-pause-if-navigate

loop

:controls="controls"

:show-center-play-btn="playBtn"

@play="starPlay"

></video>


// 开始播放之后的事件

starPlay:function(){

this.playBtn=false

},

Apple mobile phone of wechat H5 video didn't write autoplay results, and the playback button has not disappeared, so the playback < video id = "MyVideo": SRC cannot be monitored=“ /uploads/cj/article/2020/07/30/b319d27b969e0e76bc7962138986d4e0.jpg " :poster=" /uploads/cj/article/2020/07/30/b319d27b969e0e76bc7962138986d4e0.jpg "Auto pause if navigate loop: controls = controls": show center play BTN = PlayBtn "@ play = starplay" > < / video > / / events after playing starPlay:function (){ this.playBtn=false }

回答:

社区技术运营专员-CJiang:

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

-EOF-