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
8a54e892
authored
2015-08-24 15:23:02 -0400
by
jrivera
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Emit loadstart since the swf will no longer do so
1 parent
1c8468f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
8a54e89
...
...
@@ -134,12 +134,8 @@ videojs.Hls.prototype.src = function(src) {
// We need to trigger this asynchronously to give others the chance
// to bind to the event when a source is set at player creation
setTimeout
(
function
()
{
// Be careful since the player could have been disposed immediately after
// setting the src
if
(
player
&&
player
.
el
())
{
player
.
trigger
(
'loadstart'
);
}
},
1
);
this
.
tech_
.
trigger
(
'loadstart'
);
}.
bind
(
this
),
1
);
// The index of the next segment to be downloaded in the current
// media playlist. When the current media playlist is live with
...
...
Please
register
or
sign in
to post a comment