!function(){"use strict";function a(a){function l(l,e,n,c){function r(e){switch(e){case a.PLAY:l.overlayPlayIcon={};break;case a.PAUSE:l.overlayPlayIcon={play:!0};break;case a.STOP:l.overlayPlayIcon={play:!0}}}l.onClickOverlayPlay=function(){c.playPause()},l.overlayPlayIcon={play:!0},l.$watch(function(){return c.currentState},function(a,l){a!=l&&r(a)})}return{restrict:"E",require:"^videogular",scope:!0,template:'<div class="overlayPlayContainer" ng-click="onClickOverlayPlay()"><div class="iconButton" ng-class="overlayPlayIcon"></div></div>',link:l}}angular.module("dreamteam.videogular.plugins.overlayplay",[]).directive("vgOverlayPlay",a),a.$inject=["VG_STATES"]}();
!function(){"use strict";function a(a){function e(e,l,n,r){function y(l){switch(l){case a.PLAY:e.isAlreadyPlayed=!0,e.overlayPlayIcon={};break;case a.PAUSE:e.overlayPlayIcon={play:!0};break;case a.STOP:e.isAlreadyPlayed=!1,e.overlayPlayIcon={play:!0}}}e.onClickOverlayPlay=function(){r.playPause()},e.overlayPlayIcon={play:!0},e.isAlreadyPlayed=!1,e.overlayText=n.vgText||!1,e.$watch(function(){return r.currentState},function(a,e){a!==e&&y(a)})}return{restrict:"E",require:"^videogular",scope:!0,template:'<div class="overlayPlayContainer" ng-click="onClickOverlayPlay()"><div class="iconButton" ng-class="overlayPlayIcon"></div><div class="overlayPlayText" ng-if="overlayText" ng-hide="isAlreadyPlayed" ng-bind="overlayText"></div></div>',link:e}}angular.module("dreamteam.videogular.plugins.overlayplay",[]).directive("vgOverlayPlay",a),a.$inject=["VG_STATES"]}();
Build new dist