summaryrefslogtreecommitdiff
path: root/www/external/videogular2.2.1/vg-overlay-play.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/external/videogular2.2.1/vg-overlay-play.min.js')
-rw-r--r--www/external/videogular2.2.1/vg-overlay-play.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/external/videogular2.2.1/vg-overlay-play.min.js b/www/external/videogular2.2.1/vg-overlay-play.min.js
new file mode 100644
index 00000000..8683a621
--- /dev/null
+++ b/www/external/videogular2.2.1/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