Skip to content

Commit

Permalink
fix: Restart mainPlaylistLoader after media change (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-barstow authored and misteroneill committed Nov 21, 2022
1 parent 969589e commit cf340f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf340f2

Please sign in to comment.