I have to fully buffer a html5 video before playing it.
But I can't find an universal solution.
- I set the video to preload = 'auto';
- I create a setInterval with a function looking each 200 ms for the video.buffered.end(0) property and I compare it to video duration.
On Chrome and Firefox, the video.buffered.end(0) reaches the video duration after a while => OK ! On IE9, the video.buffered.end(0) reaches +/- 85% of video duration and stop progressing. But the network indicates the video is fully loaded.
I tried to use video.seekable.end(0) but it is directly set to video duration.
So, how to detect an html5 video is fully buffered in IE9 (and other browsers) ?
Thanks for all !