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.json19
-rw-r--r--www/lib/videogular-overlay-play/.gitignore3
-rw-r--r--www/lib/videogular-overlay-play/Gruntfile.js35
-rw-r--r--www/lib/videogular-overlay-play/LICENSE20
-rw-r--r--www/lib/videogular-overlay-play/README.md59
-rw-r--r--www/lib/videogular-overlay-play/bower.json8
-rw-r--r--www/lib/videogular-overlay-play/index.js4
-rw-r--r--www/lib/videogular-overlay-play/package.json15
-rw-r--r--www/lib/videogular-overlay-play/vg-overlay-play.js76
-rw-r--r--www/lib/videogular-overlay-play/vg-overlay-play.min.js1
10 files changed, 0 insertions, 240 deletions
diff --git a/www/lib/videogular-overlay-play/.bower.json b/www/lib/videogular-overlay-play/.bower.json
deleted file mode 100644
index 5f0dbf7d..00000000
--- a/www/lib/videogular-overlay-play/.bower.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "videogular-overlay-play",
- "version": "1.4.4",
- "main": "./vg-overlay-play.js",
- "dependencies": {
- "videogular": "~1.4.4"
- },
- "homepage": "https://github.com/2fdevs/bower-videogular-overlay-play",
- "_release": "1.4.4",
- "_resolution": {
- "type": "version",
- "tag": "v1.4.4",
- "commit": "a1971c17fbd78b13b165411f007b640b9bb584db"
- },
- "_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/.gitignore b/www/lib/videogular-overlay-play/.gitignore
deleted file mode 100644
index ac2c9712..00000000
--- a/www/lib/videogular-overlay-play/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/node_modules/
-/bower_components/
-.idea \ No newline at end of file
diff --git a/www/lib/videogular-overlay-play/Gruntfile.js b/www/lib/videogular-overlay-play/Gruntfile.js
deleted file mode 100644
index e5b2f2f7..00000000
--- a/www/lib/videogular-overlay-play/Gruntfile.js
+++ /dev/null
@@ -1,35 +0,0 @@
-module.exports = function(grunt) {
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- release: {
- options: {
- //bump: false, //default: true
- //file: 'bower.json', //default: package.json
- //add: false, //default: true
- //commit: false, //default: true
- //tag: false, //default: true
- //push: false, //default: true
- //pushTags: false, //default: true
- //npmtag: true, //default: no tag
- //folder: 'folder/to/publish/to/npm', //default project root
- //commitMessage: 'check out my release <%= version %>', //default: 'release <%= version %>'
- //tagMessage: 'tagging version <%= version %>', //default: 'Version <%= version %>',
- //tagName: 'v<%= version %>', //default: '<%= version %>'
-
- file: 'bower.json', //default: package.json
- add: false, //default: true
- commit: false, //default: true
- tag: false, //default: true
- push: false, //default: true
- pushTags: false, //default: true
- npm: false
- }
- }
- });
-
- grunt.loadNpmTasks('grunt-release');
-
- grunt.registerTask('major', ['release:major']);
- grunt.registerTask('minor', ['release:minor']);
- grunt.registerTask('patch', ['release:patch']);
-};
diff --git a/www/lib/videogular-overlay-play/LICENSE b/www/lib/videogular-overlay-play/LICENSE
deleted file mode 100644
index 2a6b69f7..00000000
--- a/www/lib/videogular-overlay-play/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013 2fdevs
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/www/lib/videogular-overlay-play/README.md b/www/lib/videogular-overlay-play/README.md
deleted file mode 100644
index 80ce6c68..00000000
--- a/www/lib/videogular-overlay-play/README.md
+++ /dev/null
@@ -1,59 +0,0 @@
-bower-videogular-overlay-play
-=============================
-
-Videogular `overlay-play` plugin repository for distribution on `bower`.
-
-## Install
-
-Install [Videogular](http://www.videogular.com/) `overlay-play` plugin with Bower:
-
-`bower install videogular-overlay-play`
-
-### Install Videogular
-
-Install [Videogular](http://www.videogular.com/) with Bower:
-
-`bower install videogular`
-
-### Install themes
-
-Install [Videogular](http://www.videogular.com/) themes with Bower:
-
-`bower install videogular-themes-default`
-
-### Install plugins
-
-Install [Videogular](http://www.videogular.com/) plugins with Bower:
-
-`bower install videogular-buffering`
-
-`bower install videogular-controls`
-
-`bower install videogular-poster`
-
-## Documentation
-
-It's available on [Videogular's project Wiki](https://github.com/2fdevs/videogular/wiki).
-
-## License
-
-The MIT License (MIT)
-
-Copyright (c) 2013 2fdevs
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/www/lib/videogular-overlay-play/bower.json b/www/lib/videogular-overlay-play/bower.json
deleted file mode 100644
index dfc4493f..00000000
--- a/www/lib/videogular-overlay-play/bower.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "name": "videogular-overlay-play",
- "version": "1.4.4",
- "main": "./vg-overlay-play.js",
- "dependencies": {
- "videogular": "~1.4.4"
- }
-}
diff --git a/www/lib/videogular-overlay-play/index.js b/www/lib/videogular-overlay-play/index.js
deleted file mode 100644
index bbdb3c91..00000000
--- a/www/lib/videogular-overlay-play/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-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
deleted file mode 100644
index 01c55547..00000000
--- a/www/lib/videogular-overlay-play/package.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "videogular-overlay-play",
- "version": "1.4.4",
- "main": "index.js",
- "dependencies": {
- "videogular": "~1.4.4"
- },
- "devDependencies": {
- "grunt": "~0.4.1",
- "grunt-release": "~0.7.0"
- },
- "engines": {
- "node": ">=0.8.0"
- }
-}
diff --git a/www/lib/videogular-overlay-play/vg-overlay-play.js b/www/lib/videogular-overlay-play/vg-overlay-play.js
deleted file mode 100644
index 1cf2cc35..00000000
--- a/www/lib/videogular-overlay-play/vg-overlay-play.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * @license videogular v1.4.4 http://videogular.com
- * Two Fucking Developers http://twofuckingdevelopers.com
- * License: MIT
- */
-/**
- * @ngdoc directive
- * @name com.2fdevs.videogular.plugins.overlayplay.directive:vgOverlayPlay
- * @restrict E
- * @description
- * Shows a big play button centered when player is paused or stopped.
- *
- * <pre>
- * <videogular vg-theme="config.theme.url" vg-autoplay="config.autoPlay">
- * <vg-media vg-src="sources"></vg-media>
- *
- * <vg-overlay-play></vg-overlay-play>
- * </videogular>
- * </pre>
- *
- */
-"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;
-
- case VG_STATES.PAUSE:
- scope.overlayPlayIcon = {play: true};
- break;
-
- case VG_STATES.STOP:
- scope.overlayPlayIcon = {play: true};
- break;
- }
- };
-
- scope.onClickOverlayPlay = function onClickOverlayPlay(event) {
- API.playPause();
- };
-
- scope.overlayPlayIcon = {play: true};
-
- 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
deleted file mode 100644
index 8683a621..00000000
--- a/www/lib/videogular-overlay-play/vg-overlay-play.min.js
+++ /dev/null
@@ -1 +0,0 @@
-"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