Skip to content

Commit

Permalink
If in a paused state, reload the audiosegment loader if it exists, in…
Browse files Browse the repository at this point in the history
… case it's in a paused state (#183)
  • Loading branch information
OshinKaramian committed Aug 9, 2018
1 parent 15a7f92 commit 650ea82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/master-playlist-controller.js
Expand Up @@ -257,6 +257,9 @@ export class MasterPlaylistController extends videojs.EventTarget {
// a playlist (e.g., in case the playlist errored and we re-requested it).
if (!this.tech_.paused()) {
this.mainSegmentLoader_.load();
if (this.audioSegmentLoader_) {
this.audioSegmentLoader_.load();
}
}

if (!updatedPlaylist.endList) {
Expand Down

0 comments on commit 650ea82

Please sign in to comment.