9
I’m using the shaka-player
to play a Dash stream from a Nimble server, but I’ve been reading that event waiting
is not always the most reliable option, and in fact when the video stops to load the image simply freezes, and my event is not being activated, so I would like to know if there is any alternative solution to know if the video has stopped to load?
I’m using Waiting this way
$("#video").bind("waiting", function(){
$('.player-container .player-loading').show();
});
When you say "pause", you refer to the paused video for being loaded (internet) or the user click pause to wait for the video to load?
– Randrade
Pause to load (internet causes / slow connection)
– Leo Letto
I don’t quite understand the question, but have you looked at this documentation? https://shaka-player-demo.appspot.com/docs/api/index.html
– Douglas Juliao
I’ve already taken a look, but the problem also happens sometimes even when the video is not running by Shaka-player, so I thought it would be interesting to think of a more "universal" solution to the problem
– Leo Letto
You can create a timer to run when the video starts and every second monitor the video time if the current one is the same as 1 second ago the video is stopped.
– Guilherme Lautert
The same cannot be used with the TimeUpdate or Video Preview itself?
– Leo Letto
I think you are looking for this from here: http://stackoverflow.com/questions/21399872/how-to-detect-whether-html5-video-has-paused-for-buffering
– Jean Mayer