@desynova-digital/player 3.13.3 → 3.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Video.js +1 -1
- package/package.json +1 -1
package/components/Video.js
CHANGED
|
@@ -254,7 +254,7 @@ var Video = /*#__PURE__*/function (_Component) {
|
|
|
254
254
|
this.hls.on(_hls["default"].Events.MANIFEST_PARSED, function (event, data) {
|
|
255
255
|
actions.handleAudioTracks(data.audioTracks);
|
|
256
256
|
});
|
|
257
|
-
this.hls.
|
|
257
|
+
this.hls.once(_hls["default"].Events.AUDIO_TRACK_LOADED, function (event, data) {
|
|
258
258
|
var trackIndex = activeTrackIndex || 0;
|
|
259
259
|
actions.handleAudioTrackChange(self.props.player.audioTracksArr[trackIndex]);
|
|
260
260
|
});
|