cannot set video.currentTime in html5 video using jquery/javascript

后端 未结 1 484
有刺的猬
有刺的猬 2020-12-31 17:31

Either from the console or from in my tags, I cannot set the current time of an html5 video element with javascript. I also am using jQuery but I do not know if that is re

相关标签:
1条回答
  • 2020-12-31 17:34

    Even though I was waiting until the loadedmetadata event was reached, it turned out to be the lack of support for HTTP byte range requests by web.py that was preventing seeking. HTTP Byte Range requests are required to seek in HTML5 video and it turns out web.py does not support them, so I served the video using Apache and it worked flawlessy. Thank you for your responses!

    0 讨论(0)
提交回复
热议问题