mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
Removed spinner on stall.
This commit is contained in:
parent
244159d9e9
commit
baab54c560
@ -43,7 +43,8 @@
|
||||
<td colspan="2">
|
||||
<video id="vid1" class="video-js vjs-default-skin" controls preload="auto" width="480" height="198"
|
||||
poster="http://video-js.zencoder.com/oceans-clip.png">
|
||||
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4'>
|
||||
|
||||
<source src="http://s3.amazonaws.com/iNGRID.Library.Videos/Creating_Stored_Procedures.mp4" type='video/mp4'>
|
||||
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm'>
|
||||
</video>
|
||||
</td>
|
||||
|
6
src/controls.js
vendored
6
src/controls.js
vendored
@ -188,7 +188,11 @@ _V_.LoadingSpinner = _V_.Component.extend({
|
||||
|
||||
player.addEvent("seeking", _V_.proxy(this, this.show));
|
||||
player.addEvent("error", _V_.proxy(this, this.show));
|
||||
player.addEvent("stalled", _V_.proxy(this, this.show));
|
||||
|
||||
// Not showing spinner on stalled any more. Browsers may stall and then not trigger any events that would remove the spinner.
|
||||
// Checked in Chrome 16 and Safari 5.1.2. http://help.videojs.com/discussions/problems/883-why-is-the-download-progress-showing
|
||||
// player.addEvent("stalled", _V_.proxy(this, this.show));
|
||||
|
||||
player.addEvent("waiting", _V_.proxy(this, this.show));
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user