1

I have a video with Dash in HTML5. I need to get the percentage of the current loading segment, every time the video stops for loading (buffering/seeking), percentage start's to grow from 0 to 100. If percentage is in 100% is because the segment has loaded and can continue playing. There's any way to do this?

This is not the same question as HTML5 Video - Percentage Loaded?. I don't need the percentage of the whole loaded video. I need just the percentage of a specific segment. A great example of this could be the Netflix player in Chromecast (Player shows a percentage every time the video stops for loading new segments).

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Martín
  • 3,105
  • 7
  • 25
  • 43

1 Answers1

0

I suspect it's not exposed anywhere with the standard Media element, though using the MediaSource API you may be able to retrieve more information.

At a guess that's what Netflix are using, in conjunction with EME)

Offbeatmammal
  • 7,970
  • 2
  • 33
  • 52