-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79f00b9
commit 63a31f6
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"name": "nativescript-videoplayer", | ||
"version": "3.0.10", | ||
"version": "3.1.0", | ||
"main": "videoplayer", | ||
"typings": "videoplayer.d.ts", | ||
"description": "A NativeScript plugin that uses the native video players to play local and remote videos.", | ||
"description": | ||
"A NativeScript plugin that uses the native video players to play local and remote videos.", | ||
"nativescript": { | ||
"platforms": { | ||
"android": "3.0.0", | ||
|
@@ -80,7 +81,8 @@ | |
"url": "https://github.com/bradmartin/nativescript-videoplayer/issues" | ||
}, | ||
"homepage": "https://github.com/bradmartin/nativescript-videoplayer", | ||
"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", | ||
"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", | ||
"readmeFilename": "README.md", | ||
"gitHead": "7a5addbe9192a7708fbaac9db42e33f2a156fea6", | ||
"_id": "[email protected]", | ||
|