0b5cb04f by Adam Heath

Merge branch 'bf-player-init-not-attached' of /home/git/repositories/brainfood/videojs-contrib-hls

2 parents efb4b4d0 af9ce32d
...@@ -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', {
......