Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Commit

Permalink
get playlist from masterPlaylistLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Shan Zhuang committed Apr 19, 2017
1 parent 0c261e2 commit f81badf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/master-playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ export class MasterPlaylistController extends videojs.EventTarget {
}

let isFinalRendition = this.masterPlaylistLoader_.isFinalRendition_();
let playlists = this.tech_.hls.playlists.master.playlists;
let playlists = this.masterPlaylistLoader_.master.playlists;

if (playlists.length === 1) {
// Never blacklisting this playlist because it's the only playlist
Expand Down

0 comments on commit f81badf

Please sign in to comment.