mirror of
https://github.com/videojs/video.js.git
synced 2025-07-13 01:30:17 +02:00
Cleaned up spinner code.
This commit is contained in:
3
src/controls.js
vendored
3
src/controls.js
vendored
@ -177,9 +177,6 @@ _V_.LoadingSpinner = _V_.Component.extend({
|
||||
init: function(player, options){
|
||||
this._super(player, options);
|
||||
|
||||
// player.addEvent("play", _V_.proxy(this, this.hide));
|
||||
// player.addEvent("ended", _V_.proxy(this, this.show));
|
||||
|
||||
player.addEvent("canplay", _V_.proxy(this, this.hide));
|
||||
player.addEvent("canplaythrough", _V_.proxy(this, this.hide));
|
||||
player.addEvent("playing", _V_.proxy(this, this.hide));
|
||||
|
Reference in New Issue
Block a user