Lines Matching refs:player

1501 		_addAuroraEventListeners : function(player, entity) {  argument
1505 player.volume = this.options.volume * 100;
1511 player.on("progress", function() {
1516 self._getAuroraStatus(player);
1520 if (player.duration > 0) {
1525 player.on("ready", function() {
1530 player.on("duration", function() {
1532 self._getAuroraStatus(player);
1537 player.on("end", function() {
1541 self._getAuroraStatus(player, true);
1546 player.on("error", function() {
1612 _getAuroraStatus: function(player, override) { argument
1615 this.status.duration = player.duration / 1000;
1617 ct = player.currentTime / 1000;
1619 if(player.buffered > 0) {
1620 …sp = (this.status.duration > 0) ? (player.buffered * this.status.duration) / this.status.duration …
1621 cpr = (this.status.duration > 0) ? ct / (player.buffered * this.status.duration) : 0;
3111 this.aurora.player = new AV.Player.fromURL(this.status.src);
3112 this._addAuroraEventListeners(this.aurora.player, this.aurora);
3120 if (this.aurora.player) {
3121 this.aurora.player.stop();
3130 this.aurora.player.preload();
3136 this.aurora.player.seek(time);
3139 if (!this.aurora.player.playing) {
3140 this.aurora.player.play();
3151 this.aurora.player.seek(time * 1000);
3153 this.aurora.player.pause();
3164 if(this.aurora.player.duration > 0) {
3166 this.aurora.player.seek(percent * this.aurora.player.duration / 100); // Using seconds
3179 this.aurora.player.volume = v * 100;
3183 this.aurora.properties.lastvolume = this.aurora.player.volume;
3184 this.aurora.player.volume = 0;
3186 this.aurora.player.volume = this.aurora.properties.lastvolume;