Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@essent/nativescript-videoplayer

Package Overview
Dependencies
Maintainers
36
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@essent/nativescript-videoplayer - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

platforms/android/include.gradle

50

package.json
{
"name": "@essent/nativescript-videoplayer",
"version": "4.0.0",
"version": "5.0.0",
"main": "videoplayer",

@@ -9,4 +9,4 @@ "typings": "videoplayer.d.ts",

"platforms": {
"android": "5.2.1",
"ios": "5.2.0"
"android": "6.0.0",
"ios": "6.0.1"
},

@@ -21,18 +21,13 @@ "plugin": {

"scripts": {
"tsc": "tsc -skipLibCheck",
"build": "npm i && tsc",
"tsc": "npm i && tsc",
"build": "npm run tsc && npm run build.native",
"build.native": "node scripts/build-native.js",
"postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && cd ../src && npm run plugin.link",
"test.android": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
"test.ios": "npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"",
"plugin.link": "npm link && cd ../demo && npm link @essent/nativescript-videoplayer && cd ../src",
"plugin.tscwatch": "npm run tsc -- -w",
"demo.ios": "npm i && npm run tsc && cd ../demo && tns run ios --syncAllFiles",
"demo.android": "npm i && npm run tsc && cd ../demo && tns run android --syncAllFiles",
"demo.reset": "cd ../demo && rimraf platforms",
"plugin.prepare": "npm run tsc && cd ../demo && tns plugin remove @essent/nativescript-videoplayer && tns plugin add ../src",
"clean": "cd ../demo && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'",
"prepack": "npm run build.native"
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'",
"prepack": "npm run build.native",
"demo.ios": "npm i && cd ../demo && tns run ios",
"demo.android": "npm i && cd ../demo && tns run android",
"demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json",
"plugin.prepare": "npm run build && cd ../demo && tns plugin remove @essent/nativescript-videoplayer && tns plugin add ../src",
"clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i"
},

@@ -127,10 +122,15 @@ "lint-staged": {

"devDependencies": {
"husky": "^0.14.3",
"lint-staged": "^7.0.4",
"prettier": "^1.12.0",
"tns-core-modules": "5.2.2",
"tns-platform-declarations": "5.2.2",
"tslint": "~5.9.1",
"typescript": "3.3.3333"
}
"prompt": "^1.0.0",
"rimraf": "^2.6.3",
"semver": "^5.6.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"prettier": "^2.0.5",
"tns-core-modules": "6.5.1",
"tns-platform-declarations": "6.5.1",
"tslint": "~6.1.2",
"typescript": "3.9.3"
},
"dependencies": {},
"bootstrapper": "nativescript-plugin-seed"
}

@@ -1,6 +0,7 @@

<a align="center" href="https://www.npmjs.com/package/nativescript-videoplayer">
<h3 align="center">NativeScript VideoPlayer</h3>
</a>
<h4 align="center">A NativeScript plugin to provide the ability to play local and remote videos.</h4>
# NativeScript Video Player
[![npm version](https://badge.fury.io/js/%40essent%2Fnativescript-videoplayer.svg)](https://www.npmjs.com/package/@essent/nativescript-videoplayer)
A NativeScript plugin to provide the ability to play local and remote videos.
---

@@ -12,3 +13,3 @@

`tns plugin add nativescript-videoplayer`
`npm i @essent/nativescript-videoplayer`

@@ -15,0 +16,0 @@ #### Platform controls used:

@@ -5,9 +5,9 @@ {

"typings": "video-source.d.ts",
"version": "0.1.0",
"version": "1.0.0",
"nativescript": {
"platforms": {
"android": "1.7.0",
"ios": "1.7.0"
"android": "6.5.0",
"ios": "6.5.1"
}
}
}
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFileOrResourcePath = exports.fromFileOrResource = exports.fromUrl = exports.fromNativeSource = exports.fromFile = exports.fromResource = void 0;
var utils_1 = require("tns-core-modules/utils/utils");

@@ -4,0 +5,0 @@ var video_source_1 = require("./video-source");

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.VideoSource = void 0;
var utils = require("tns-core-modules/utils/utils");

@@ -11,3 +9,3 @@ var fs = require("tns-core-modules/file-system");

var videoplayer_common_1 = require("../videoplayer-common");
__export(require("./video-source-common"));
__exportStar(require("./video-source-common"), exports);
var VideoSource = (function () {

@@ -58,3 +56,3 @@ function VideoSource() {

},
enumerable: true,
enumerable: false,
configurable: true

@@ -71,3 +69,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -74,0 +72,0 @@ });

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.VideoSource = void 0;
var fs = require("tns-core-modules/file-system");
var types_1 = require("tns-core-modules/utils/types");
var videoplayer_common_1 = require("../videoplayer-common");
__export(require("./video-source-common"));
__exportStar(require("./video-source-common"), exports);
var VideoSource = (function () {

@@ -11,0 +9,0 @@ function VideoSource() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fillProperty = exports.mutedProperty = exports.loopProperty = exports.controlsProperty = exports.autoplayProperty = exports.observeCurrentTimeProperty = exports.isLoadingProperty = exports.videoSourceProperty = exports.headersProperty = exports.srcProperty = exports.VideoCommon = exports.CLog = exports.CLogTypes = exports.VideoPlayerUtil = void 0;
var view_1 = require("tns-core-modules/ui/core/view");

@@ -54,3 +55,3 @@ var types_1 = require("tns-core-modules/utils/types");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -57,0 +58,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Video = void 0;
var utils = require("tns-core-modules/utils/utils");

@@ -37,3 +38,3 @@ var timer_1 = require("tns-core-modules/timer");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -459,3 +460,3 @@ });

Video.prototype._setNativeVideo = function (nativeVideo) {
videoplayer_common_1.CLog(videoplayer_common_1.CLogTypes.error, "Video._setNativeVideo");
videoplayer_common_1.CLog(videoplayer_common_1.CLogTypes.info, "Video._setNativeVideo ", nativeVideo);
this._src = nativeVideo;

@@ -462,0 +463,0 @@ this._openVideo();

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Video = void 0;
var application = require("tns-core-modules/application");

@@ -29,3 +30,3 @@ var videoplayer_common_1 = require("./videoplayer-common");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -32,0 +33,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc