You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
Standard HTML video events are handled by video.js automatically and are triggered on the player object. In addition, there are a couple specialized events you can listen to on the HLS object during playback:
It goes on to describe the loadedplaylist event, among others. But if I listen to this event on the HLS object, it seems to never get triggered. Digging into the source it appears I have to listen to the event on the hls.masterPlaylistController_.masterPlaylistLoader_object. However, it feels wrong that I have to listen to this event on a nested object that is considered private.
Am I missing something or is the documentation for this outdated?
Results
Expected
The loadedplaylist event should be triggered on the HLS object. Alternatively, the documentation should describe what is the recommended way of listening to this event.
Additional Information
Please include any additional information necessary here. Including the following:
videojs-contrib-hls version
what version of videojs-contrib-hls does this occur with?
current master branch
videojs version
what version of videojs does this occur with?
current master branch
The text was updated successfully, but these errors were encountered:
We decided to remove the loadedplaylist function since it seems like the function is very much internal to HLS and only bad things can happen if user rely on that function.
The other events are accessible through other means now - mediachange is available via change events on the QualityLevelsList implementation on the player and loadedmetadata is still available on the player.
Description
Regarding events, the documentation says:
It goes on to describe the loadedplaylist event, among others. But if I listen to this event on the HLS object, it seems to never get triggered. Digging into the source it appears I have to listen to the event on the
hls.masterPlaylistController_.masterPlaylistLoader_
object. However, it feels wrong that I have to listen to this event on a nested object that is considered private.Am I missing something or is the documentation for this outdated?
Results
Expected
The loadedplaylist event should be triggered on the HLS object. Alternatively, the documentation should describe what is the recommended way of listening to this event.
Additional Information
Please include any additional information necessary here. Including the following:
videojs-contrib-hls version
what version of videojs-contrib-hls does this occur with?
current master branch
videojs version
what version of videojs does this occur with?
current master branch
The text was updated successfully, but these errors were encountered: