cms/app-client/app/components/player-component.js
changeset 251 ac320de33ec7
parent 249 e4204b1a579a
child 254 a7cf2887e993
--- a/cms/app-client/app/components/player-component.js	Thu Aug 04 17:59:38 2016 +0200
+++ b/cms/app-client/app/components/player-component.js	Fri Aug 05 14:55:45 2016 +0200
@@ -101,6 +101,10 @@
 
         setTime: function(event) {
             this.get('popcorn').currentTime(event.layerX * this.get('popcorn').duration() / Ember.$(event.target).width());
+        },
+
+        display: function(el) {
+            this.get('player').display(el);
         }
 
     }