Skip to content

Commit 9e87a6a

Browse files
committed
bump/add contribs
1 parent 1035432 commit 9e87a6a

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

package.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-videoplayer",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"main": "videoplayer.js",
55
"typings": "videoplayer.d.ts",
66
"description": "A NativeScript plugin that uses the native video players to play local and remote videos.",
@@ -40,6 +40,16 @@
4040
"name": "Blake Nussey",
4141
"email": "[email protected]",
4242
"url": "https://github.com/bnussey"
43+
},
44+
{
45+
"name": "Juan Manuel Campos Olvera",
46+
"email": "[email protected]",
47+
"url": "https://github.com/juanmcampos"
48+
},
49+
{
50+
"name": "Ivo Georgiev",
51+
"email": "[email protected]",
52+
"url": "https://github.com/Ivshti"
4353
}
4454
],
4555
"author": {
@@ -52,15 +62,15 @@
5262
"url": "https://github.com/bradmartin/nativescript-videoplayer/issues"
5363
},
5464
"scripts": {
55-
"build": "tsc",
56-
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios",
57-
"demo.android": "npm run preparedemo && cd demo && tns run android",
58-
"debug.ios": "npm run preparedemo && cd demo && tns debug ios --emulator",
59-
"debug.android": "npm run preparedemo && cd demo && tns debug android --emulator",
60-
"preparedemo": "npm run build && cd demo && tns plugin remove nativescript-advanced-webview && tns plugin add .. && tns install",
61-
"setup": "cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..",
62-
"start": "npm run demo.android"
63-
},
65+
"build": "tsc",
66+
"demo.ios": "npm run preparedemo && cd demo && tns emulate ios",
67+
"demo.android": "npm run preparedemo && cd demo && tns run android",
68+
"debug.ios": "npm run preparedemo && cd demo && tns debug ios --emulator",
69+
"debug.android": "npm run preparedemo && cd demo && tns debug android --emulator",
70+
"preparedemo": "npm run build && cd demo && tns plugin remove nativescript-advanced-webview && tns plugin add .. && tns install",
71+
"setup": "cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..",
72+
"start": "npm run demo.android"
73+
},
6474
"homepage": "https://github.com/bradmartin/nativescript-videoplayer",
6575
"readme": "# NativeScript Video Player :clapper:\nA NativeScript plugin to provide an XML widget for playing local and remote video files.\n\n#### [Android VideoView](http://developer.android.com/intl/zh-tw/reference/android/widget/VideoView.html)\n#### [iOS AVPlayer](https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVPlayer_Class/index.html)\n\n## Installation\n`npm install nativescript-videoplayer`\n\n## Usage\n\n###\n```XML\n<Page xmlns=\"http://schemas.nativescript.org/tns.xsd\"\n xmlns:VideoPlayer=\"videoplayer\">\n <StackLayout>\n <VideoPlayer:Video\n loaded=\"videoplayerLoaded\" \n finished=\"videoFinished\" \n autoplay=\"true\" \n height=\"300\" \n src=\"~/videos/small.mp4\" />\n\n <!-- Here is a remote file to test with https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4 -->\n \n </StackLayout>\n</Page>\n```\n\n## Attributes\n**src** - *required*\n\nAttribute to specify the video file to play, can either be a remote file or local video file. \n\n<sub>The file must adhere to the platforms accepted video formats. For reference check the platform specs on playing videos.</sub>\n\n**autoplay** - *optional*\n\nAttribute to set if the video should start playing as soon as possible or to wait for user interaction.\n\n**finished** - *optional*\n\nAttribute to specify an event callback to execute when the video reaches the end of its duration.\n\n",
6676
"readmeFilename": "README.md",
@@ -70,4 +80,4 @@
7080
"_shasum": "7bdee571649168a79ded1bf63beb6d7b4b9cfa2a",
7181
"_from": "..",
7282
"_resolved": "file:.."
73-
}
83+
}

0 commit comments

Comments
 (0)