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
c8629df3
authored
2014-10-27 18:17:27 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
call fillBuffer immediately, if a user tries playing
1 parent
6dabe4c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
c8629df
...
...
@@ -129,6 +129,7 @@ videojs.Hls.prototype.handleSourceOpen = function() {
this
.
fillBuffer
();
}
player
.
one
(
'play'
,
videojs
.
bind
(
this
,
this
.
fillBuffer
));
player
.
on
(
'timeupdate'
,
videojs
.
bind
(
this
,
this
.
fillBuffer
));
player
.
on
(
'timeupdate'
,
videojs
.
bind
(
this
,
this
.
drainBuffer
));
player
.
on
(
'waiting'
,
videojs
.
bind
(
this
,
this
.
drainBuffer
));
...
...
Please
register
or
sign in
to post a comment