From f81badf7b37c64b165e71777b1e233ccd4e23208 Mon Sep 17 00:00:00 2001 From: Shan Zhuang Date: Wed, 19 Apr 2017 10:13:40 -0400 Subject: [PATCH] get playlist from masterPlaylistLoader --- src/master-playlist-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/master-playlist-controller.js b/src/master-playlist-controller.js index baa270bdc..23cfa241a 100644 --- a/src/master-playlist-controller.js +++ b/src/master-playlist-controller.js @@ -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