uniapp在ios端播放视频时,选择全屏播放,视频出现放大、缩小反复跳转的bug解决

<video :src="videoList[0]" controls class="video-size" id="myVideo" show-fullscreen-btn="true"
					show-progress="true" :autoplay="autoPlay" controls @timeupdate="video_time_update"
					@fullscreenchange="fullScreenHandler">
				</video>
//ios端直接返回,因为ios会默认调起全屏方法和uniapp的会冲突
fullScreenHandler(e) {
				if (uni.getSystemInfoSync().platform == "ios") { return }
			},

  

posted @ 2022-07-07 10:38  大笛子  阅读(2391)  评论(0编辑  收藏  举报