cms/app-client/app/components/player-component.js
changeset 220 2145b80776a3
parent 215 82878d132784
child 240 aa101458cd4e
--- a/cms/app-client/app/components/player-component.js	Mon Jul 04 12:42:57 2016 +0200
+++ b/cms/app-client/app/components/player-component.js	Mon Jul 04 16:18:19 2016 +0200
@@ -48,7 +48,7 @@
         }));
     },
 
-    onUpdate: function(event) {
+    onUpdate: function() {
         var currentTime = this.get('popcorn').currentTime();
         var duration = this.get('popcorn').duration();
         this.$('.bar .value').width(currentTime * 100 / duration + '%');
@@ -56,11 +56,11 @@
         this.set('remaining', duration - currentTime);
     },
 
-    onPlay: function(event) {
+    onPlay: function() {
         this.get('player').set('playing', true);
     },
 
-    onPause: function(event) {
+    onPause: function() {
         this.get('player').set('playing', false);
     },