Browse Source

fix: Restart mainPlaylistLoader after media change (#1339)

next
Alex Barstow 3 years ago
committed by Pat O'Neill
parent
commit
cf340f2e01
  1. 2
      src/playlist-controller.js

2
src/playlist-controller.js

@ -615,6 +615,8 @@ export class PlaylistController extends videojs.EventTarget {
this.requestOptions_.timeout = requestTimeout;
}
this.mainPlaylistLoader_.load();
// TODO: Create a new event on the PlaylistLoader that signals
// that the segments have changed in some way and use that to
// update the SegmentLoader instead of doing it twice here and

Loading…
Cancel
Save