nativescript-videoplayer

v4.2.1
A NativeScript plugin that uses the native video players to play local and remote videos.
NativeScript Android iOS TypeScript video video player movie bradmartin nStudio and 1 more...

precommit

npm run ci.tslint && lint-staged

tsc

tsc -skipLibCheck

build

npm i && 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 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 build && cd ../demo && tns plugin remove 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

Metadata

  • MIT
  • Whatever
  • Brad Martin
  • released 10/30/2018

Downloads