Seeking in HTML5 video with Chrome

前端 未结 6 1112
南旧
南旧 2020-12-08 10:48

I\'m having issues seeking in video\'s using Chrome.

For some reason, no matter what I do, video.seekable.end(0) is always 0.

When I call

6条回答
  •  轮回少年
    2020-12-08 11:14

    If you wait for canplaythrough instead of loadeddata, it works.

    See this codepen example.

提交回复
热议问题