Merge branch 'bf-player-init-not-attached' of /home/git/repositories/brainfood/videojs-contrib-hls
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -282,8 +282,8 @@ class HlsHandler extends Component { | ... | @@ -282,8 +282,8 @@ class HlsHandler extends Component { |
282 | 282 | ||
283 | // tech.player() is deprecated but setup a reference to HLS for | 283 | // tech.player() is deprecated but setup a reference to HLS for |
284 | // backwards-compatibility | 284 | // backwards-compatibility |
285 | if (tech.options_ && tech.options_.playerId) { | 285 | if (tech.options_ && tech.options_.tag) { |
286 | let _player = videojs(tech.options_.playerId); | 286 | let _player = videojs(tech.options_.tag); |
287 | 287 | ||
288 | if (!_player.hasOwnProperty('hls')) { | 288 | if (!_player.hasOwnProperty('hls')) { |
289 | Object.defineProperty(_player, 'hls', { | 289 | Object.defineProperty(_player, 'hls', { | ... | ... |
-
Please register or sign in to post a comment