diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-03-27 11:45:36 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-03-27 11:45:36 -0400 |
| commit | 7c6b8411aacf2f4fe9f098f5cbe5d45b5ac61a45 (patch) | |
| tree | 7c0102c734901ce1c21b2fb91c8e7b31ca2945ea /www/external/videogular2.2.1/vg-overlay-play.min.js | |
| parent | 1f8d25fd77728c2c71dfe2218b1cf5fb17fab4a1 (diff) | |
migrate to videogular2.2.1 and remove its bower dep
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.js | 1 |
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 |
