开发者社区 问答 正文

钉钉移动端微应用video标签currentTime

钉钉移动端微应用video标签currentTime跳转到对应的进度不生效,同时使用改方法会导致进度条失效。还发现华为手机上的钉钉使用该方法后视频无法播放

let videoPlay = document.querySelector('video')

videoPlay.addEventListener("loadedmetadata", function(){
	videoPlay.currentTime = that.progress
});

展开
收起
游客3c73svvlgyzuo 2022-03-20 15:32:48 5416 分享 版权
7 条回答
写回答
取消 提交回答
  • 1

    2022-03-20 17:41:49
    赞同 展开评论
  • 1

    2022-03-20 17:07:18
    赞同 展开评论
  • 1

    2022-03-20 16:59:05
    赞同 展开评论
  • 1

    2022-03-20 16:55:49
    赞同 展开评论
  • 虽然过去不能改变,未来可以!!!

    1

    2022-03-20 16:50:02
    赞同 展开评论
  • 无所不能的蛋蛋

    1

    2022-03-20 16:47:59
    赞同 展开评论
  • 1

    2022-03-20 16:13:08
    赞同 展开评论
滑动查看更多