做项目的时候,使用了aliplayer,发现配置了x5_type: 'h5’点击视频播放按钮会变成这样
直接进入了微信的video里面,页面全屏了
不加上x5_type: 'h5’的时候是这样
video浮在最上层,盖住了我的页面的弹出层。
解决方案:直接使用原生的video,在video中加上x5-video-player-type="h5-page"能使播放状态中的视频不会盖住自己写的弹框
<video id="video" controls preload x5-video-player-type="h5-page" height="150" width="300">
<source src="http://cdn.tencent.neigou.com/Public/Home/mobileAsset/images/tencent2018/video5.mp4" type="video/mp4">
</video>