Skip to content Skip to sidebar Skip to footer

Cannot Set Video.currenttime In Html5 Video Using Jquery/javascript

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 relevant

Solution 1:

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!


Post a Comment for "Cannot Set Video.currenttime In Html5 Video Using Jquery/javascript"