Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0b5cb04f
authored
2016-10-12 10:43:48 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'bf-player-init-not-attached' of /home/git/repositories/brainfood/videojs-contrib-hls
2 parents
efb4b4d0
af9ce32d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/videojs-contrib-hls.js
src/videojs-contrib-hls.js
View file @
0b5cb04
...
...
@@ -282,8 +282,8 @@ class HlsHandler extends Component {
// tech.player() is deprecated but setup a reference to HLS for
// backwards-compatibility
if
(
tech
.
options_
&&
tech
.
options_
.
playerId
)
{
let
_player
=
videojs
(
tech
.
options_
.
playerId
);
if
(
tech
.
options_
&&
tech
.
options_
.
tag
)
{
let
_player
=
videojs
(
tech
.
options_
.
tag
);
if
(
!
_player
.
hasOwnProperty
(
'hls'
))
{
Object
.
defineProperty
(
_player
,
'hls'
,
{
...
...
Please
register
or
sign in
to post a comment