forked from nstudio/nativescript-videoplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.89 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "nativescript-videoplayer",
"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.",
"nativescript": {
"platforms": {
"android": "3.0.0",
"ios": "3.0.0"
},
"plugin": {
"nan": "true",
"pan": "true",
"core3": "true",
"category": "Interface"
}
},
"scripts": {
"precommit": "lint-staged"
},
"lint-staged": {
"*.ts": ["prettier --write", "git add"]
},
"repository": {
"type": "git",
"url": "git+https://github.com/bradmartin/nativescript-videoplayer.git"
},
"keywords": [
"NativeScript",
"Android",
"iOS",
"TypeScript",
"video",
"video player",
"movie",
"bradmartin",
"nStudio"
],
"contributors": [
{
"name": "Nathanael Anderson",
"email": "nathan@master-technology",
"url": "https://github.com/nathanaela"
},
{
"name": "Alexander Ziskind",
"email": "alex@nuvious.com",
"url": "https://github.com/alexziskind1"
},
{
"name": "Blake Nussey",
"email": "blake@stageme.com",
"url": "https://github.com/bnussey"
},
{
"name": "Juan Manuel Campos Olvera",
"email": "juan4106@hotmail.com",
"url": "https://github.com/juanmcampos"
},
{
"name": "Ivo Georgiev",
"email": "ivo@strem.io",
"url": "https://github.com/Ivshti"
},
{
"name": "Ophir Stern",
"email": "souly01@gmail.com",
"url": "https://github.com/souly1"
}
],
"author": {
"name": "Brad Martin",
"email": "bradwaynemartin@gmail.com",
"url": "https://github.com/bradmartin"
},
"license": "Apache-2.0",
"bugs": {
"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",
"readmeFilename": "README.md",
"gitHead": "7a5addbe9192a7708fbaac9db42e33f2a156fea6",
"_id": "nativescript-videoplayer@0.1.0",
"_shasum": "7bdee571649168a79ded1bf63beb6d7b4b9cfa2a",
"_from": "..",
"_resolved": "file:..",
"peerDependencies": {
"tns-core-modules": "^3.0.0"
},
"devDependencies": {
"husky": "^0.13.4",
"lint-staged": "^3.6.1",
"prettier": "^1.4.4",
"tns-core-modules": "^3.0.0",
"tns-platform-declarations": "3.0.1",
"typescript": "^2.2.2"
}
}