summaryrefslogtreecommitdiff
path: root/www/lib/videogular-overlay-play
diff options
context:
space:
mode:
Diffstat (limited to 'www/lib/videogular-overlay-play')
-rw-r--r--www/lib/videogular-overlay-play/.bower.json14
-rw-r--r--www/lib/videogular-overlay-play/bower.json4
-rw-r--r--www/lib/videogular-overlay-play/index.js1
-rw-r--r--www/lib/videogular-overlay-play/package.json5
-rw-r--r--www/lib/videogular-overlay-play/vg-overlay-play.js89
-rw-r--r--www/lib/videogular-overlay-play/vg-overlay-play.min.js2
6 files changed, 59 insertions, 56 deletions
diff --git a/www/lib/videogular-overlay-play/.bower.json b/www/lib/videogular-overlay-play/.bower.json
index 22c499fd..1da28605 100644
--- a/www/lib/videogular-overlay-play/.bower.json
+++ b/www/lib/videogular-overlay-play/.bower.json
@@ -1,19 +1,19 @@
{
"name": "videogular-overlay-play",
- "version": "1.3.2",
+ "version": "1.4.4",
"main": "./vg-overlay-play.js",
"dependencies": {
- "videogular": "~1.3.2"
+ "videogular": "~1.4.4"
},
"homepage": "https://github.com/2fdevs/bower-videogular-overlay-play",
- "_release": "1.3.2",
+ "_release": "1.4.4",
"_resolution": {
"type": "version",
- "tag": "v1.3.2",
- "commit": "8c68babdf2ad165be19983656a6dae4c4c0d9b21"
+ "tag": "v1.4.4",
+ "commit": "a1971c17fbd78b13b165411f007b640b9bb584db"
},
- "_source": "git://github.com/2fdevs/bower-videogular-overlay-play.git",
- "_target": "~1.3.2",
+ "_source": "https://github.com/2fdevs/bower-videogular-overlay-play.git",
+ "_target": "1.4.4",
"_originalSource": "videogular-overlay-play",
"_direct": true
} \ No newline at end of file
diff --git a/www/lib/videogular-overlay-play/bower.json b/www/lib/videogular-overlay-play/bower.json
index 32166c2f..dfc4493f 100644
--- a/www/lib/videogular-overlay-play/bower.json
+++ b/www/lib/videogular-overlay-play/bower.json
@@ -1,8 +1,8 @@
{
"name": "videogular-overlay-play",
- "version": "1.3.2",
+ "version": "1.4.4",
"main": "./vg-overlay-play.js",
"dependencies": {
- "videogular": "~1.3.2"
+ "videogular": "~1.4.4"
}
}
diff --git a/www/lib/videogular-overlay-play/index.js b/www/lib/videogular-overlay-play/index.js
index fe6e0b39..bbdb3c91 100644
--- a/www/lib/videogular-overlay-play/index.js
+++ b/www/lib/videogular-overlay-play/index.js
@@ -1,3 +1,4 @@
+require('videogular');
require('./vg-overlay-play');
module.exports = 'com.2fdevs.videogular.plugins.overlayplay';
diff --git a/www/lib/videogular-overlay-play/package.json b/www/lib/videogular-overlay-play/package.json
index 8a0202b5..01c55547 100644
--- a/www/lib/videogular-overlay-play/package.json
+++ b/www/lib/videogular-overlay-play/package.json
@@ -1,7 +1,10 @@
{
"name": "videogular-overlay-play",
- "version": "1.3.2",
+ "version": "1.4.4",
"main": "index.js",
+ "dependencies": {
+ "videogular": "~1.4.4"
+ },
"devDependencies": {
"grunt": "~0.4.1",
"grunt-release": "~0.7.0"
diff --git a/www/lib/videogular-overlay-play/vg-overlay-play.js b/www/lib/videogular-overlay-play/vg-overlay-play.js
index a5142f07..1cf2cc35 100644
--- a/www/lib/videogular-overlay-play/vg-overlay-play.js
+++ b/www/lib/videogular-overlay-play/vg-overlay-play.js
@@ -1,5 +1,5 @@
/**
- * @license videogular v1.3.2 http://videogular.com
+ * @license videogular v1.4.4 http://videogular.com
* Two Fucking Developers http://twofuckingdevelopers.com
* License: MIT
*/
@@ -22,56 +22,55 @@
"use strict";
angular.module("com.2fdevs.videogular.plugins.overlayplay", [])
.run(
- ["$templateCache", function ($templateCache) {
- $templateCache.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 (VG_STATES) {
- return {
- restrict: "E",
- require: "^videogular",
- scope: {},
- templateUrl: function (elem, attrs) {
- return attrs.vgTemplate || 'vg-templates/vg-overlay-play';
- },
- link: function (scope, elem, attr, API) {
- scope.onChangeState = function onChangeState(newState) {
- switch (newState) {
- case VG_STATES.PLAY:
- scope.overlayPlayIcon = {};
- break;
+ ["$templateCache", function ($templateCache) {
+ $templateCache.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 (VG_STATES) {
+ return {
+ restrict: "E",
+ require: "^videogular",
+ scope: {},
+ templateUrl: function (elem, attrs) {
+ return attrs.vgTemplate || 'vg-templates/vg-overlay-play';
+ },
+ link: function (scope, elem, attr, API) {
+ scope.onChangeState = function onChangeState(newState) {
+ switch (newState) {
+ case VG_STATES.PLAY:
+ scope.overlayPlayIcon = {};
+ break;
- case VG_STATES.PAUSE:
- scope.overlayPlayIcon = {play: true};
- break;
+ case VG_STATES.PAUSE:
+ scope.overlayPlayIcon = {play: true};
+ break;
- case VG_STATES.STOP:
- scope.overlayPlayIcon = {play: true};
- break;
- }
- };
+ case VG_STATES.STOP:
+ scope.overlayPlayIcon = {play: true};
+ break;
+ }
+ };
- scope.onClickOverlayPlay = function onClickOverlayPlay(event) {
- API.playPause();
- };
+ scope.onClickOverlayPlay = function onClickOverlayPlay(event) {
+ API.playPause();
+ };
- scope.overlayPlayIcon = {play: true};
+ scope.overlayPlayIcon = {play: true};
- scope.$watch(
- function () {
- return API.currentState;
- },
- function (newVal, oldVal) {
- scope.onChangeState(newVal);
- }
- );
+ scope.$watch(
+ function () {
+ return API.currentState;
+ },
+ function (newVal, oldVal) {
+ scope.onChangeState(newVal);
+ }
+ );
+ }
}
}
- }
]);
diff --git a/www/lib/videogular-overlay-play/vg-overlay-play.min.js b/www/lib/videogular-overlay-play/vg-overlay-play.min.js
index 31a59c8a..8683a621 100644
--- a/www/lib/videogular-overlay-play/vg-overlay-play.min.js
+++ b/www/lib/videogular-overlay-play/vg-overlay-play.min.js
@@ -1 +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
+"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