From be5b8b08ffa0fba138603499b14651211524d4c6 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:51:23 -0500 Subject: [PATCH 01/13] Create package.json --- package.json | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..824d3fe --- /dev/null +++ b/package.json @@ -0,0 +1,72 @@ +{ + "_from": "com.phonegap.plugins.video@1.0.1", + "_id": "com.phonegap.plugins.video@1.0.1", + "_inBundle": false, + "_integrity": "sha512-YqrZfAgbARR20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaeewR==", + "_location": "/com.phonegap.plugins.video", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "com.phonegap.plugins.video@1.0.1", + "name": "com.phonegap.plugins.video", + "escapedName": "com.phonegap.plugins.video", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "#USER", + "/" + ], + "_resolved": "https://registry.npmjs.org/com.phonegap.plugins.video/-/com.phonegap.plugins.video-1.0.1.tgz", + "_shasum": "61520b8de3eb75b37842d2340f5d90a84a073511", + "_spec": "com.phonegap.plugins.video@1.0.1", + "_where": "/TBD", + "author": { + "name": "Apache Software Foundation" + }, + "bugs": { + "url": "https://github.com/cemerson/VideoPlayer/issues" + }, + "bundleDependencies": false, + "cordova": { + "id": "com.phonegap.plugins.video", + "platforms": [ + "android" + ] + }, + "deprecated": false, + "description": "The video player allows you to display videos from your Cordova application. Original author: Simon MacDonald", + "engines": { + "cordovaDependencies": { + "0.2.3": { + "cordova": ">=1.0.1" + }, + "4.0.0": { + "cordova": ">100" + } + } + }, + "homepage": "https://github.com/cemerson/VideoPlayer#readme", + "keywords": [ + "cordova", + "video", + "player", + "videoplayer", + "androidvideoplayer", + "cordova-android" + ], + "license": "Apache-2.0", + "name": "com.phonegap.plugins.video", + "repository": { + "type": "git", + "url": "git+https://github.com/cemerson/VideoPlayer.git" + }, + "scripts": { + "eslint": "node node_modules/eslint/bin/eslint www && node node_modules/eslint/bin/eslint src && node node_modules/eslint/bin/eslint tests", + "test": "npm run eslint" + }, + "types": "./types/index.d.ts", + "version": "1.0.1" +} From eb588fa6e93ad3c4df88bafdb6ee0e7573fc5a67 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:53:42 -0500 Subject: [PATCH 02/13] Update plugin.xml --- plugin.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index 0655001..618752d 100644 --- a/plugin.xml +++ b/plugin.xml @@ -3,13 +3,13 @@ + version="1.0.1"> VideoPlayer - The video player allows you to display videos from your PhoneGap application. + The video player allows you to display videos from your Cordova application. Original (PhoneGap) version author: Simon MacDonald. Simon MacDonald android, video player MIT From cc39ba3471b29c2fcb2335b805889ca9b191b758 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:54:57 -0500 Subject: [PATCH 03/13] Update package.json --- package.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 824d3fe..a814eca 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { - "_from": "com.phonegap.plugins.video@1.0.1", - "_id": "com.phonegap.plugins.video@1.0.1", + "_from": "cordova-plugin-android-videoplayer@1.0.1", + "_id": "cordova-plugin-android-videoplayer@1.0.1", "_inBundle": false, "_integrity": "sha512-YqrZfAgbARR20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaeewR==", - "_location": "/com.phonegap.plugins.video", + "_location": "/cordova-plugin-android-videoplayer", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "com.phonegap.plugins.video@1.0.1", - "name": "com.phonegap.plugins.video", - "escapedName": "com.phonegap.plugins.video", + "raw": "cordova-plugin-android-videoplayer@1.0.1", + "name": "cordova-plugin-android-videoplayer", + "escapedName": "cordova-plugin-android-videoplayer", "rawSpec": "1.0.1", "saveSpec": null, "fetchSpec": "1.0.1" @@ -19,9 +19,9 @@ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/com.phonegap.plugins.video/-/com.phonegap.plugins.video-1.0.1.tgz", + "_resolved": "https://registry.npmjs.org/cordova-plugin-android-videoplayer/-/cordova-plugin-android-videoplayer-1.0.1.tgz", "_shasum": "61520b8de3eb75b37842d2340f5d90a84a073511", - "_spec": "com.phonegap.plugins.video@1.0.1", + "_spec": "cordova-plugin-android-videoplayer@1.0.1", "_where": "/TBD", "author": { "name": "Apache Software Foundation" @@ -31,13 +31,13 @@ }, "bundleDependencies": false, "cordova": { - "id": "com.phonegap.plugins.video", + "id": "cordova-plugin-android-videoplayer", "platforms": [ "android" ] }, "deprecated": false, - "description": "The video player allows you to display videos from your Cordova application. Original author: Simon MacDonald", + "description": "The video player allows you to display videos from your Cordova application. Original (PhoneGap) version author: Simon MacDonald.", "engines": { "cordovaDependencies": { "0.2.3": { @@ -58,7 +58,7 @@ "cordova-android" ], "license": "Apache-2.0", - "name": "com.phonegap.plugins.video", + "name": "cordova-plugin-android-videoplayer", "repository": { "type": "git", "url": "git+https://github.com/cemerson/VideoPlayer.git" From 4245c6a351a8a7ea38f79b35f60a04e35ec7748e Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:55:48 -0500 Subject: [PATCH 04/13] Update plugin.xml --- plugin.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin.xml b/plugin.xml index 618752d..f17a47b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ @@ -22,10 +22,9 @@ - + - From 2efee25e91c8e1549f90b2a34b3b28c1287ac3a9 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:56:06 -0500 Subject: [PATCH 05/13] Update package.json --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index a814eca..2af3a15 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { - "_from": "cordova-plugin-android-videoplayer@1.0.1", - "_id": "cordova-plugin-android-videoplayer@1.0.1", + "_from": "cordova-plugin-android-video@1.0.1", + "_id": "cordova-plugin-android-video@1.0.1", "_inBundle": false, "_integrity": "sha512-YqrZfAgbARR20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaeewR==", - "_location": "/cordova-plugin-android-videoplayer", + "_location": "/cordova-plugin-android-video", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "cordova-plugin-android-videoplayer@1.0.1", - "name": "cordova-plugin-android-videoplayer", - "escapedName": "cordova-plugin-android-videoplayer", + "raw": "cordova-plugin-android-video@1.0.1", + "name": "cordova-plugin-android-video", + "escapedName": "cordova-plugin-android-video", "rawSpec": "1.0.1", "saveSpec": null, "fetchSpec": "1.0.1" @@ -19,9 +19,9 @@ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/cordova-plugin-android-videoplayer/-/cordova-plugin-android-videoplayer-1.0.1.tgz", + "_resolved": "https://registry.npmjs.org/cordova-plugin-android-video/-/cordova-plugin-android-video-1.0.1.tgz", "_shasum": "61520b8de3eb75b37842d2340f5d90a84a073511", - "_spec": "cordova-plugin-android-videoplayer@1.0.1", + "_spec": "cordova-plugin-android-video@1.0.1", "_where": "/TBD", "author": { "name": "Apache Software Foundation" @@ -31,7 +31,7 @@ }, "bundleDependencies": false, "cordova": { - "id": "cordova-plugin-android-videoplayer", + "id": "cordova-plugin-android-video", "platforms": [ "android" ] @@ -58,7 +58,7 @@ "cordova-android" ], "license": "Apache-2.0", - "name": "cordova-plugin-android-videoplayer", + "name": "cordova-plugin-android-video", "repository": { "type": "git", "url": "git+https://github.com/cemerson/VideoPlayer.git" From a0ca205cc24682101e76ccc15644ad83ae6146cb Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 15:57:27 -0500 Subject: [PATCH 06/13] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e68d970..797ece4 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +# Fork Info +Previously known as "com.phonegap.plugins.video" or "VideoPlayer" by Simon MacDomand (https://github.com/macdonst/VideoPlayer) + # VideoPlayer plugin for Phonegap # The video player allows you to display videos from your PhoneGap application. From 23359dc58ba299a0f6af7eb1c2c9abc35a3db6a4 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 16:35:45 -0500 Subject: [PATCH 07/13] Update plugin.xml --- plugin.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index f17a47b..034a812 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ @@ -22,7 +22,7 @@ - + From b0cb5445b47dbb403032fe9d044098d270447613 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Wed, 20 Nov 2019 16:35:58 -0500 Subject: [PATCH 08/13] Update package.json --- package.json | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 2af3a15..30352dc 100644 --- a/package.json +++ b/package.json @@ -1,28 +1,26 @@ { - "_from": "cordova-plugin-android-video@1.0.1", - "_id": "cordova-plugin-android-video@1.0.1", + "_from": "git+https://github.com/cemerson/com.phonegap.plugins.video.git", + "_id": "com.phonegap.plugins.video@1.0.1", "_inBundle": false, - "_integrity": "sha512-YqrZfAgbARR20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaeewR==", - "_location": "/cordova-plugin-android-video", + "_integrity": "", + "_location": "/com.phonegap.plugins.video", "_phantomChildren": {}, "_requested": { - "type": "version", - "registry": true, - "raw": "cordova-plugin-android-video@1.0.1", - "name": "cordova-plugin-android-video", - "escapedName": "cordova-plugin-android-video", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" + "type": "git", + "raw": "https://github.com/cemerson/com.phonegap.plugins.video.git", + "rawSpec": "https://github.com/cemerson/com.phonegap.plugins.video.git", + "saveSpec": "git+https://github.com/cemerson/com.phonegap.plugins.video.git", + "fetchSpec": "https://github.com/cemerson/com.phonegap.plugins.video.git", + "gitCommittish": null }, "_requiredBy": [ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/cordova-plugin-android-video/-/cordova-plugin-android-video-1.0.1.tgz", + "_resolved": "git+https://github.com/cemerson/com.phonegap.plugins.video.git#a0ca205cc24682101e76ccc15644ad83ae6146cb", "_shasum": "61520b8de3eb75b37842d2340f5d90a84a073511", - "_spec": "cordova-plugin-android-video@1.0.1", - "_where": "/TBD", + "_spec": "https://github.com/cemerson/com.phonegap.plugins.video.git", + "_where": "M:\\Documents\\Projects\\iSitLead", "author": { "name": "Apache Software Foundation" }, @@ -31,7 +29,7 @@ }, "bundleDependencies": false, "cordova": { - "id": "cordova-plugin-android-video", + "id": "com.phonegap.plugins.video", "platforms": [ "android" ] @@ -58,7 +56,7 @@ "cordova-android" ], "license": "Apache-2.0", - "name": "cordova-plugin-android-video", + "name": "com.phonegap.plugins.video", "repository": { "type": "git", "url": "git+https://github.com/cemerson/VideoPlayer.git" From 6b329a4853f20711c87c44bccc188ac5ed6e8840 Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Thu, 21 Nov 2019 06:22:58 -0500 Subject: [PATCH 09/13] Update README.md --- README.md | 91 +++++++------------------------------------------------ 1 file changed, 11 insertions(+), 80 deletions(-) diff --git a/README.md b/README.md index 797ece4..e47fd6d 100755 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # Fork Info -Previously known as "com.phonegap.plugins.video" or "VideoPlayer" by Simon MacDomand (https://github.com/macdonst/VideoPlayer) +* Previously known as "com.phonegap.plugins.video" or "VideoPlayer" by Simon MacDomand (https://github.com/macdonst/VideoPlayer) +* It's possible the original was intended to assist with video playing on iOS too but as far as I remember from usage/experience this was only to get video playback working on Android PhoneGap (Cordova) apps. Kind of wish the author put the word "android" in the name/namespace to make that clear. But I thank him for building this regardless! +* Forked/updated to work with Cordova apps as of 2019112x. Basically was just needing a package.json added. +* I incremented the plugin version to 1.0.1 just make this one distinct from the original but no functionality difference (hopefully). -# VideoPlayer plugin for Phonegap # +# Original Info + +## VideoPlayer plugin for Phonegap # The video player allows you to display videos from your PhoneGap application. This command fires an Intent to have your devices video player show the video. -## Adding the Plugin to your project ## +### Adding the Plugin to your project ## Using this plugin requires [Android PhoneGap](https://github.com/apache/incubator-cordova-android). @@ -22,7 +27,7 @@ Using this plugin requires [Android PhoneGap](https://github.com/apache/incubato <plugin name="VideoPlayer" value="com.phonegap.plugins.video.VideoPlayer"/> -## Using the plugin ## +### Using the plugin ## The plugin creates the object `window.plugins.videoPlayer`. To use, call the play() method: @@ -44,80 +49,6 @@ Sample use: Note: When playing video from the assets folder, the video is first copied to internal storage with MODE_WORLD_READABLE. -## RELEASE NOTES ## - -### October 2, 2011 ### - -* Initial release - - -## BUGS AND CONTRIBUTIONS ## - - -## LICENSE ## - -PhoneGap is available under *either* the terms of the modified BSD license *or* the -MIT License (2008). As a recipient of PhonegGap, you may choose which -license to receive this code under (except as noted in per-module LICENSE -files). Some modules may not be the copyright of Nitobi. These -modules contain explicit declarations of copyright in both the LICENSE files in -the directories in which they reside and in the code itself. No external -contributions are allowed under licenses which are fundamentally incompatible -with the MIT or BSD licenses that PhoneGap is distributed under. - -The text of the MIT and BSD licenses is reproduced below. - ---- - -### The "New" BSD License - -Copyright (c) 2005-2011, Nitobi Software Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of Phonegap/Nitobi nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ---- - -### The MIT License - -Copyright (c) <2011> - - 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. +### All Other Info +See original repo: https://github.com/macdonst/VideoPlayer From 75d79efe55559276c8c938cdd255bdf36b1d692d Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Fri, 22 Nov 2019 05:44:02 -0500 Subject: [PATCH 10/13] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e47fd6d..6b6fbd2 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Fork Info +* With a couple tweaks to the plugin files this now seems to be working now as of 2019/11. * Previously known as "com.phonegap.plugins.video" or "VideoPlayer" by Simon MacDomand (https://github.com/macdonst/VideoPlayer) * It's possible the original was intended to assist with video playing on iOS too but as far as I remember from usage/experience this was only to get video playback working on Android PhoneGap (Cordova) apps. Kind of wish the author put the word "android" in the name/namespace to make that clear. But I thank him for building this regardless! * Forked/updated to work with Cordova apps as of 2019112x. Basically was just needing a package.json added. From ab1bc5c46be929edd8ac8a7605e3f80415d1704c Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Fri, 22 Nov 2019 06:05:13 -0500 Subject: [PATCH 11/13] Update README.md --- README.md | 93 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 79 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 6b6fbd2..e68d970 100755 --- a/README.md +++ b/README.md @@ -1,19 +1,10 @@ -# Fork Info -* With a couple tweaks to the plugin files this now seems to be working now as of 2019/11. -* Previously known as "com.phonegap.plugins.video" or "VideoPlayer" by Simon MacDomand (https://github.com/macdonst/VideoPlayer) -* It's possible the original was intended to assist with video playing on iOS too but as far as I remember from usage/experience this was only to get video playback working on Android PhoneGap (Cordova) apps. Kind of wish the author put the word "android" in the name/namespace to make that clear. But I thank him for building this regardless! -* Forked/updated to work with Cordova apps as of 2019112x. Basically was just needing a package.json added. -* I incremented the plugin version to 1.0.1 just make this one distinct from the original but no functionality difference (hopefully). - -# Original Info - -## VideoPlayer plugin for Phonegap # +# VideoPlayer plugin for Phonegap # The video player allows you to display videos from your PhoneGap application. This command fires an Intent to have your devices video player show the video. -### Adding the Plugin to your project ## +## Adding the Plugin to your project ## Using this plugin requires [Android PhoneGap](https://github.com/apache/incubator-cordova-android). @@ -28,7 +19,7 @@ Using this plugin requires [Android PhoneGap](https://github.com/apache/incubato <plugin name="VideoPlayer" value="com.phonegap.plugins.video.VideoPlayer"/> -### Using the plugin ## +## Using the plugin ## The plugin creates the object `window.plugins.videoPlayer`. To use, call the play() method: @@ -50,6 +41,80 @@ Sample use: Note: When playing video from the assets folder, the video is first copied to internal storage with MODE_WORLD_READABLE. -### All Other Info -See original repo: https://github.com/macdonst/VideoPlayer +## RELEASE NOTES ## + +### October 2, 2011 ### + +* Initial release + + +## BUGS AND CONTRIBUTIONS ## + + +## LICENSE ## + +PhoneGap is available under *either* the terms of the modified BSD license *or* the +MIT License (2008). As a recipient of PhonegGap, you may choose which +license to receive this code under (except as noted in per-module LICENSE +files). Some modules may not be the copyright of Nitobi. These +modules contain explicit declarations of copyright in both the LICENSE files in +the directories in which they reside and in the code itself. No external +contributions are allowed under licenses which are fundamentally incompatible +with the MIT or BSD licenses that PhoneGap is distributed under. + +The text of the MIT and BSD licenses is reproduced below. + +--- + +### The "New" BSD License + +Copyright (c) 2005-2011, Nitobi Software Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Phonegap/Nitobi nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +### The MIT License + +Copyright (c) <2011> + + 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. From 1fdb8046a0a42716e9d9568add503e99a1bd001a Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Fri, 22 Nov 2019 06:08:08 -0500 Subject: [PATCH 12/13] Added package.json for 2019 Cordova compatibility Cordova plugins as of 2019 requrie a package.json file. I don't know how this will work if merged back into the main repo since this file points to my forked repo. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30352dc..f1d202f 100644 --- a/package.json +++ b/package.json @@ -67,4 +67,4 @@ }, "types": "./types/index.d.ts", "version": "1.0.1" -} +} From 470842d422314fd6a408c62b0c4c98d2c825814d Mon Sep 17 00:00:00 2001 From: Chris Emerson Date: Fri, 22 Nov 2019 06:11:02 -0500 Subject: [PATCH 13/13] Adjusted the description to to clarify "Android" AFAIK this plugin was/is meant to add video playback on Android which (amazingly) is still an Android limitation/issue as of 2019. Other platforms (iOS, Windows? etc) don't need help with this. --- plugin.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index 034a812..035d037 100644 --- a/plugin.xml +++ b/plugin.xml @@ -3,13 +3,13 @@ + version="1.0.0"> VideoPlayer - The video player allows you to display videos from your Cordova application. Original (PhoneGap) version author: Simon MacDonald. + The video player allows you to display videos in Cordova (Android) apps. Simon MacDonald android, video player MIT