summaryrefslogtreecommitdiff
path: root/www/lib/videogular-overlay-play/vg-overlay-play.min.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-01 06:33:26 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-01 06:33:26 -0500
commit2fe632d47c2c12aea423fdb837057d86d136e7c1 (patch)
tree5169c6a293e617a46cb4cd9d4ce872eea9c415a3 /www/lib/videogular-overlay-play/vg-overlay-play.min.js
parent5f452cb3add568b0b2dcc795e7885b6275f918e1 (diff)
inital commits - getting video branch to work #60 - implemented in quick scrub - works fine
Diffstat (limited to 'www/lib/videogular-overlay-play/vg-overlay-play.min.js')
-rw-r--r--www/lib/videogular-overlay-play/vg-overlay-play.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/lib/videogular-overlay-play/vg-overlay-play.min.js b/www/lib/videogular-overlay-play/vg-overlay-play.min.js
new file mode 100644
index 00000000..31a59c8a
--- /dev/null
+++ b/www/lib/videogular-overlay-play/vg-overlay-play.min.js
@@ -0,0 +1 @@
+"use strict";angular.module("com.2fdevs.videogular.plugins.overlayplay",[]).run(["$templateCache",function(a){a.put("vg-templates/vg-overlay-play",'<div class="overlayPlayContainer" ng-click="onClickOverlayPlay()"> <div class="iconButton" ng-class="overlayPlayIcon"></div> </div>')}]).directive("vgOverlayPlay",["VG_STATES",function(a){return{restrict:"E",require:"^videogular",scope:{},templateUrl:function(a,b){return b.vgTemplate||"vg-templates/vg-overlay-play"},link:function(b,c,d,e){b.onChangeState=function(c){switch(c){case a.PLAY:b.overlayPlayIcon={};break;case a.PAUSE:b.overlayPlayIcon={play:!0};break;case a.STOP:b.overlayPlayIcon={play:!0}}},b.onClickOverlayPlay=function(a){e.playPause()},b.overlayPlayIcon={play:!0},b.$watch(function(){return e.currentState},function(a,c){b.onChangeState(a)})}}}]); \ No newline at end of file