轮播swiper中加视频video滑动不顺畅报错 The provided double value is non-finite 斯科菲尔Scofield 2021-01-25 645 阅读1分钟 轮播swiper中加视频video滑动不顺畅报错TypeError: Failed to set the ‘currentTime’ property on ‘HTMLMediaElement’: The provided double value is non-finite. 轮播图swiper中要求加图片和视频,swiper手动滑动时出现报错,并且滑动不顺畅 很多地方测试了很多,发现是手动滑动轮播时触发到了video标签的事件 将video滑动事件禁用解决