Skip to content Skip to sidebar Skip to footer

Html5 Video Duration Infinity While Readystate = 4

I am creating a custom html5 video player that can play live stream, record live stream and play regular video files. for recording i am using RecordRTC. everything runs well but i

Solution 1:

You can also set the media element's currentTime to Number.MAX_SAFE_INTEGER and then back to 0 again, this will force the browser to parse the whole video till the end and return the last frame for you.

This will allow you to have a seekable video bar.

Post a Comment for "Html5 Video Duration Infinity While Readystate = 4"