c8629df3 by Gary Katsevman

call fillBuffer immediately, if a user tries playing

1 parent 6dabe4c1
......@@ -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));
......