@capgo/capacitor-video-player 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapgoCapacitorVideoPlayer.podspec +17 -0
- package/Package.swift +28 -0
- package/README.md +431 -0
- package/android/build.gradle +72 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/com/capgo/videoplayer/FullscreenExoPlayerFragment.java +1406 -0
- package/android/src/main/java/com/capgo/videoplayer/Notifications/MyRunnable.java +21 -0
- package/android/src/main/java/com/capgo/videoplayer/Notifications/NotificationCenter.java +61 -0
- package/android/src/main/java/com/capgo/videoplayer/PickerVideo/AdapterVideoList.java +47 -0
- package/android/src/main/java/com/capgo/videoplayer/PickerVideo/ModelVideo.java +49 -0
- package/android/src/main/java/com/capgo/videoplayer/PickerVideo/PickerVideoFragment.java +116 -0
- package/android/src/main/java/com/capgo/videoplayer/PickerVideo/VideoRecyclerViewHolder.java +65 -0
- package/android/src/main/java/com/capgo/videoplayer/Utilities/FilesUtils.java +38 -0
- package/android/src/main/java/com/capgo/videoplayer/Utilities/FragmentUtils.java +32 -0
- package/android/src/main/java/com/capgo/videoplayer/VideoPlayer.java +71 -0
- package/android/src/main/java/com/capgo/videoplayer/VideoPlayerPlugin.java +1239 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/android/src/main/res/drawable/bg_round_rect_white_50.xml +9 -0
- package/android/src/main/res/drawable/bg_rounded_rectangle_white_corner_rounded.xml +10 -0
- package/android/src/main/res/drawable/exo_close_btn.xml +12 -0
- package/android/src/main/res/drawable/gradient_transparent_middle.xml +12 -0
- package/android/src/main/res/drawable/ic_arrow_left.xml +5 -0
- package/android/src/main/res/drawable/ic_baseline_lq.xml +7 -0
- package/android/src/main/res/drawable/ic_exo_icon_fastforward.xml +35 -0
- package/android/src/main/res/drawable/ic_exo_icon_pause.xml +26 -0
- package/android/src/main/res/drawable/ic_exo_icon_play.xml +36 -0
- package/android/src/main/res/drawable/ic_exo_icon_rewind.xml +35 -0
- package/android/src/main/res/drawable/ic_expand.xml +5 -0
- package/android/src/main/res/drawable/ic_fit.xml +5 -0
- package/android/src/main/res/drawable/ic_image_background.xml +12 -0
- package/android/src/main/res/drawable/ic_img_16_9_background.xml +10 -0
- package/android/src/main/res/drawable/ic_img_9_16_background.xml +10 -0
- package/android/src/main/res/drawable/ic_outline_lock.xml +5 -0
- package/android/src/main/res/drawable/ic_outline_lock_open.xml +5 -0
- package/android/src/main/res/drawable/ic_pip_white.xml +5 -0
- package/android/src/main/res/drawable/ic_views.xml +18 -0
- package/android/src/main/res/drawable/ic_zoom.xml +5 -0
- package/android/src/main/res/layout/bridge_layout_main.xml +15 -0
- package/android/src/main/res/layout/exo_playback_control_view.xml +287 -0
- package/android/src/main/res/layout/exoplayer_layout_youtube.xml +361 -0
- package/android/src/main/res/layout/fragment_fs_exoplayer.xml +50 -0
- package/android/src/main/res/layout/fragment_picker_video.xml +21 -0
- package/android/src/main/res/layout/row_video.xml +76 -0
- package/android/src/main/res/values/colors.xml +14 -0
- package/android/src/main/res/values/strings.xml +3 -0
- package/android/src/main/res/values/styles.xml +3 -0
- package/dist/docs.json +686 -0
- package/dist/esm/definitions.d.ts +307 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web-utils/video-types.d.ts +4 -0
- package/dist/esm/web-utils/video-types.js +9 -0
- package/dist/esm/web-utils/video-types.js.map +1 -0
- package/dist/esm/web-utils/videoplayer.d.ts +30 -0
- package/dist/esm/web-utils/videoplayer.js +323 -0
- package/dist/esm/web-utils/videoplayer.js.map +1 -0
- package/dist/esm/web.d.ts +121 -0
- package/dist/esm/web.js +675 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +1019 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +1021 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/VideoPlayerPlugin/VideoPlayer.swift +8 -0
- package/ios/Sources/VideoPlayerPlugin/VideoPlayerPlugin.swift +23 -0
- package/ios/Tests/VideoPlayerPluginTests/VideoPlayerPluginTests.swift +15 -0
- package/package.json +85 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,686 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "VideoPlayerPlugin",
|
|
4
|
+
"slug": "videoplayerplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "echo",
|
|
10
|
+
"signature": "(options: capEchoOptions) => Promise<capVideoPlayerResult>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "options",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "capEchoOptions"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
19
|
+
"tags": [],
|
|
20
|
+
"docs": "Echo",
|
|
21
|
+
"complexTypes": [
|
|
22
|
+
"capVideoPlayerResult",
|
|
23
|
+
"capEchoOptions"
|
|
24
|
+
],
|
|
25
|
+
"slug": "echo"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "initPlayer",
|
|
29
|
+
"signature": "(options: capVideoPlayerOptions) => Promise<capVideoPlayerResult>",
|
|
30
|
+
"parameters": [
|
|
31
|
+
{
|
|
32
|
+
"name": "options",
|
|
33
|
+
"docs": "",
|
|
34
|
+
"type": "capVideoPlayerOptions"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
38
|
+
"tags": [],
|
|
39
|
+
"docs": "Initialize a video player",
|
|
40
|
+
"complexTypes": [
|
|
41
|
+
"capVideoPlayerResult",
|
|
42
|
+
"capVideoPlayerOptions"
|
|
43
|
+
],
|
|
44
|
+
"slug": "initplayer"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "isPlaying",
|
|
48
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
49
|
+
"parameters": [
|
|
50
|
+
{
|
|
51
|
+
"name": "options",
|
|
52
|
+
"docs": "",
|
|
53
|
+
"type": "capVideoPlayerIdOptions"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
57
|
+
"tags": [],
|
|
58
|
+
"docs": "Return if a given playerId is playing",
|
|
59
|
+
"complexTypes": [
|
|
60
|
+
"capVideoPlayerResult",
|
|
61
|
+
"capVideoPlayerIdOptions"
|
|
62
|
+
],
|
|
63
|
+
"slug": "isplaying"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "play",
|
|
67
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
68
|
+
"parameters": [
|
|
69
|
+
{
|
|
70
|
+
"name": "options",
|
|
71
|
+
"docs": "",
|
|
72
|
+
"type": "capVideoPlayerIdOptions"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
76
|
+
"tags": [],
|
|
77
|
+
"docs": "Play the current video from a given playerId",
|
|
78
|
+
"complexTypes": [
|
|
79
|
+
"capVideoPlayerResult",
|
|
80
|
+
"capVideoPlayerIdOptions"
|
|
81
|
+
],
|
|
82
|
+
"slug": "play"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "pause",
|
|
86
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
87
|
+
"parameters": [
|
|
88
|
+
{
|
|
89
|
+
"name": "options",
|
|
90
|
+
"docs": "",
|
|
91
|
+
"type": "capVideoPlayerIdOptions"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
95
|
+
"tags": [],
|
|
96
|
+
"docs": "Pause the current video from a given playerId",
|
|
97
|
+
"complexTypes": [
|
|
98
|
+
"capVideoPlayerResult",
|
|
99
|
+
"capVideoPlayerIdOptions"
|
|
100
|
+
],
|
|
101
|
+
"slug": "pause"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "getDuration",
|
|
105
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
106
|
+
"parameters": [
|
|
107
|
+
{
|
|
108
|
+
"name": "options",
|
|
109
|
+
"docs": "",
|
|
110
|
+
"type": "capVideoPlayerIdOptions"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
114
|
+
"tags": [],
|
|
115
|
+
"docs": "Get the duration of the current video from a given playerId",
|
|
116
|
+
"complexTypes": [
|
|
117
|
+
"capVideoPlayerResult",
|
|
118
|
+
"capVideoPlayerIdOptions"
|
|
119
|
+
],
|
|
120
|
+
"slug": "getduration"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "getCurrentTime",
|
|
124
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
125
|
+
"parameters": [
|
|
126
|
+
{
|
|
127
|
+
"name": "options",
|
|
128
|
+
"docs": "",
|
|
129
|
+
"type": "capVideoPlayerIdOptions"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
133
|
+
"tags": [],
|
|
134
|
+
"docs": "Get the current time of the current video from a given playerId",
|
|
135
|
+
"complexTypes": [
|
|
136
|
+
"capVideoPlayerResult",
|
|
137
|
+
"capVideoPlayerIdOptions"
|
|
138
|
+
],
|
|
139
|
+
"slug": "getcurrenttime"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "setCurrentTime",
|
|
143
|
+
"signature": "(options: capVideoTimeOptions) => Promise<capVideoPlayerResult>",
|
|
144
|
+
"parameters": [
|
|
145
|
+
{
|
|
146
|
+
"name": "options",
|
|
147
|
+
"docs": "",
|
|
148
|
+
"type": "capVideoTimeOptions"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
152
|
+
"tags": [],
|
|
153
|
+
"docs": "Set the current time to seek the current video to from a given playerId",
|
|
154
|
+
"complexTypes": [
|
|
155
|
+
"capVideoPlayerResult",
|
|
156
|
+
"capVideoTimeOptions"
|
|
157
|
+
],
|
|
158
|
+
"slug": "setcurrenttime"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "getVolume",
|
|
162
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
163
|
+
"parameters": [
|
|
164
|
+
{
|
|
165
|
+
"name": "options",
|
|
166
|
+
"docs": "",
|
|
167
|
+
"type": "capVideoPlayerIdOptions"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
171
|
+
"tags": [],
|
|
172
|
+
"docs": "Get the volume of the current video from a given playerId",
|
|
173
|
+
"complexTypes": [
|
|
174
|
+
"capVideoPlayerResult",
|
|
175
|
+
"capVideoPlayerIdOptions"
|
|
176
|
+
],
|
|
177
|
+
"slug": "getvolume"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "setVolume",
|
|
181
|
+
"signature": "(options: capVideoVolumeOptions) => Promise<capVideoPlayerResult>",
|
|
182
|
+
"parameters": [
|
|
183
|
+
{
|
|
184
|
+
"name": "options",
|
|
185
|
+
"docs": "",
|
|
186
|
+
"type": "capVideoVolumeOptions"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
190
|
+
"tags": [],
|
|
191
|
+
"docs": "Set the volume of the current video to from a given playerId",
|
|
192
|
+
"complexTypes": [
|
|
193
|
+
"capVideoPlayerResult",
|
|
194
|
+
"capVideoVolumeOptions"
|
|
195
|
+
],
|
|
196
|
+
"slug": "setvolume"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "getMuted",
|
|
200
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
201
|
+
"parameters": [
|
|
202
|
+
{
|
|
203
|
+
"name": "options",
|
|
204
|
+
"docs": "",
|
|
205
|
+
"type": "capVideoPlayerIdOptions"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
209
|
+
"tags": [],
|
|
210
|
+
"docs": "Get the muted of the current video from a given playerId",
|
|
211
|
+
"complexTypes": [
|
|
212
|
+
"capVideoPlayerResult",
|
|
213
|
+
"capVideoPlayerIdOptions"
|
|
214
|
+
],
|
|
215
|
+
"slug": "getmuted"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "setMuted",
|
|
219
|
+
"signature": "(options: capVideoMutedOptions) => Promise<capVideoPlayerResult>",
|
|
220
|
+
"parameters": [
|
|
221
|
+
{
|
|
222
|
+
"name": "options",
|
|
223
|
+
"docs": "",
|
|
224
|
+
"type": "capVideoMutedOptions"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
228
|
+
"tags": [],
|
|
229
|
+
"docs": "Set the muted of the current video to from a given playerId",
|
|
230
|
+
"complexTypes": [
|
|
231
|
+
"capVideoPlayerResult",
|
|
232
|
+
"capVideoMutedOptions"
|
|
233
|
+
],
|
|
234
|
+
"slug": "setmuted"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "setRate",
|
|
238
|
+
"signature": "(options: capVideoRateOptions) => Promise<capVideoPlayerResult>",
|
|
239
|
+
"parameters": [
|
|
240
|
+
{
|
|
241
|
+
"name": "options",
|
|
242
|
+
"docs": "",
|
|
243
|
+
"type": "capVideoRateOptions"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
247
|
+
"tags": [],
|
|
248
|
+
"docs": "Set the rate of the current video from a given playerId",
|
|
249
|
+
"complexTypes": [
|
|
250
|
+
"capVideoPlayerResult",
|
|
251
|
+
"capVideoRateOptions"
|
|
252
|
+
],
|
|
253
|
+
"slug": "setrate"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "getRate",
|
|
257
|
+
"signature": "(options: capVideoPlayerIdOptions) => Promise<capVideoPlayerResult>",
|
|
258
|
+
"parameters": [
|
|
259
|
+
{
|
|
260
|
+
"name": "options",
|
|
261
|
+
"docs": "",
|
|
262
|
+
"type": "capVideoPlayerIdOptions"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
266
|
+
"tags": [],
|
|
267
|
+
"docs": "Get the rate of the current video from a given playerId",
|
|
268
|
+
"complexTypes": [
|
|
269
|
+
"capVideoPlayerResult",
|
|
270
|
+
"capVideoPlayerIdOptions"
|
|
271
|
+
],
|
|
272
|
+
"slug": "getrate"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "stopAllPlayers",
|
|
276
|
+
"signature": "() => Promise<capVideoPlayerResult>",
|
|
277
|
+
"parameters": [],
|
|
278
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
279
|
+
"tags": [],
|
|
280
|
+
"docs": "Stop all players playing",
|
|
281
|
+
"complexTypes": [
|
|
282
|
+
"capVideoPlayerResult"
|
|
283
|
+
],
|
|
284
|
+
"slug": "stopallplayers"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "showController",
|
|
288
|
+
"signature": "() => Promise<capVideoPlayerResult>",
|
|
289
|
+
"parameters": [],
|
|
290
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
291
|
+
"tags": [],
|
|
292
|
+
"docs": "Show controller",
|
|
293
|
+
"complexTypes": [
|
|
294
|
+
"capVideoPlayerResult"
|
|
295
|
+
],
|
|
296
|
+
"slug": "showcontroller"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "isControllerIsFullyVisible",
|
|
300
|
+
"signature": "() => Promise<capVideoPlayerResult>",
|
|
301
|
+
"parameters": [],
|
|
302
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
303
|
+
"tags": [],
|
|
304
|
+
"docs": "isControllerIsFullyVisible",
|
|
305
|
+
"complexTypes": [
|
|
306
|
+
"capVideoPlayerResult"
|
|
307
|
+
],
|
|
308
|
+
"slug": "iscontrollerisfullyvisible"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "exitPlayer",
|
|
312
|
+
"signature": "() => Promise<capVideoPlayerResult>",
|
|
313
|
+
"parameters": [],
|
|
314
|
+
"returns": "Promise<capVideoPlayerResult>",
|
|
315
|
+
"tags": [],
|
|
316
|
+
"docs": "Exit player",
|
|
317
|
+
"complexTypes": [
|
|
318
|
+
"capVideoPlayerResult"
|
|
319
|
+
],
|
|
320
|
+
"slug": "exitplayer"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"properties": []
|
|
324
|
+
},
|
|
325
|
+
"interfaces": [
|
|
326
|
+
{
|
|
327
|
+
"name": "capVideoPlayerResult",
|
|
328
|
+
"slug": "capvideoplayerresult",
|
|
329
|
+
"docs": "",
|
|
330
|
+
"tags": [],
|
|
331
|
+
"methods": [],
|
|
332
|
+
"properties": [
|
|
333
|
+
{
|
|
334
|
+
"name": "result",
|
|
335
|
+
"tags": [],
|
|
336
|
+
"docs": "result set to true when successful else false",
|
|
337
|
+
"complexTypes": [],
|
|
338
|
+
"type": "boolean | undefined"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "method",
|
|
342
|
+
"tags": [],
|
|
343
|
+
"docs": "method name",
|
|
344
|
+
"complexTypes": [],
|
|
345
|
+
"type": "string | undefined"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "value",
|
|
349
|
+
"tags": [],
|
|
350
|
+
"docs": "value returned",
|
|
351
|
+
"complexTypes": [],
|
|
352
|
+
"type": "any"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "message",
|
|
356
|
+
"tags": [],
|
|
357
|
+
"docs": "message string",
|
|
358
|
+
"complexTypes": [],
|
|
359
|
+
"type": "string | undefined"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "capEchoOptions",
|
|
365
|
+
"slug": "capechooptions",
|
|
366
|
+
"docs": "",
|
|
367
|
+
"tags": [],
|
|
368
|
+
"methods": [],
|
|
369
|
+
"properties": [
|
|
370
|
+
{
|
|
371
|
+
"name": "value",
|
|
372
|
+
"tags": [],
|
|
373
|
+
"docs": "String to be echoed",
|
|
374
|
+
"complexTypes": [],
|
|
375
|
+
"type": "string | undefined"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "capVideoPlayerOptions",
|
|
381
|
+
"slug": "capvideoplayeroptions",
|
|
382
|
+
"docs": "",
|
|
383
|
+
"tags": [],
|
|
384
|
+
"methods": [],
|
|
385
|
+
"properties": [
|
|
386
|
+
{
|
|
387
|
+
"name": "mode",
|
|
388
|
+
"tags": [],
|
|
389
|
+
"docs": "Player mode\n - \"fullscreen\"\n - \"embedded\" (Web only)",
|
|
390
|
+
"complexTypes": [],
|
|
391
|
+
"type": "string | undefined"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "url",
|
|
395
|
+
"tags": [],
|
|
396
|
+
"docs": "The url of the video to play",
|
|
397
|
+
"complexTypes": [],
|
|
398
|
+
"type": "string | undefined"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "subtitle",
|
|
402
|
+
"tags": [],
|
|
403
|
+
"docs": "The url of subtitle associated with the video",
|
|
404
|
+
"complexTypes": [],
|
|
405
|
+
"type": "string | undefined"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "language",
|
|
409
|
+
"tags": [],
|
|
410
|
+
"docs": "The language of subtitle\nsee https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers",
|
|
411
|
+
"complexTypes": [],
|
|
412
|
+
"type": "string | undefined"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "subtitleOptions",
|
|
416
|
+
"tags": [],
|
|
417
|
+
"docs": "SubTitle Options",
|
|
418
|
+
"complexTypes": [
|
|
419
|
+
"SubTitleOptions"
|
|
420
|
+
],
|
|
421
|
+
"type": "SubTitleOptions"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "playerId",
|
|
425
|
+
"tags": [],
|
|
426
|
+
"docs": "Id of DIV Element parent of the player",
|
|
427
|
+
"complexTypes": [],
|
|
428
|
+
"type": "string | undefined"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "rate",
|
|
432
|
+
"tags": [],
|
|
433
|
+
"docs": "Initial playing rate",
|
|
434
|
+
"complexTypes": [],
|
|
435
|
+
"type": "number | undefined"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "exitOnEnd",
|
|
439
|
+
"tags": [],
|
|
440
|
+
"docs": "Exit on VideoEnd (iOS, Android)\ndefault: true",
|
|
441
|
+
"complexTypes": [],
|
|
442
|
+
"type": "boolean | undefined"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "loopOnEnd",
|
|
446
|
+
"tags": [],
|
|
447
|
+
"docs": "Loop on VideoEnd when exitOnEnd false (iOS, Android)\ndefault: false",
|
|
448
|
+
"complexTypes": [],
|
|
449
|
+
"type": "boolean | undefined"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "pipEnabled",
|
|
453
|
+
"tags": [],
|
|
454
|
+
"docs": "Picture in Picture Enable (iOS, Android)\ndefault: true",
|
|
455
|
+
"complexTypes": [],
|
|
456
|
+
"type": "boolean | undefined"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "bkmodeEnabled",
|
|
460
|
+
"tags": [],
|
|
461
|
+
"docs": "Background Mode Enable (iOS, Android)\ndefault: true",
|
|
462
|
+
"complexTypes": [],
|
|
463
|
+
"type": "boolean | undefined"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "showControls",
|
|
467
|
+
"tags": [],
|
|
468
|
+
"docs": "Show Controls Enable (iOS, Android)\ndefault: true",
|
|
469
|
+
"complexTypes": [],
|
|
470
|
+
"type": "boolean | undefined"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "displayMode",
|
|
474
|
+
"tags": [],
|
|
475
|
+
"docs": "Display Mode [\"all\", \"portrait\", \"landscape\"] (iOS, Android)\ndefault: \"all\"",
|
|
476
|
+
"complexTypes": [],
|
|
477
|
+
"type": "string | undefined"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "componentTag",
|
|
481
|
+
"tags": [],
|
|
482
|
+
"docs": "Component Tag or DOM Element Tag (React app)",
|
|
483
|
+
"complexTypes": [],
|
|
484
|
+
"type": "string | undefined"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "width",
|
|
488
|
+
"tags": [],
|
|
489
|
+
"docs": "Player Width (mode \"embedded\" only)",
|
|
490
|
+
"complexTypes": [],
|
|
491
|
+
"type": "number | undefined"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "height",
|
|
495
|
+
"tags": [],
|
|
496
|
+
"docs": "Player height (mode \"embedded\" only)",
|
|
497
|
+
"complexTypes": [],
|
|
498
|
+
"type": "number | undefined"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "headers",
|
|
502
|
+
"tags": [],
|
|
503
|
+
"docs": "Headers for the request (iOS, Android)\nby Manuel García Marín (https://github.com/PhantomPainX)",
|
|
504
|
+
"complexTypes": [],
|
|
505
|
+
"type": "{ [key: string]: string; } | undefined"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "title",
|
|
509
|
+
"tags": [],
|
|
510
|
+
"docs": "Title shown in the player (Android)\nby Manuel García Marín (https://github.com/PhantomPainX)",
|
|
511
|
+
"complexTypes": [],
|
|
512
|
+
"type": "string | undefined"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "smallTitle",
|
|
516
|
+
"tags": [],
|
|
517
|
+
"docs": "Subtitle shown below the title in the player (Android)\nby Manuel García Marín (https://github.com/PhantomPainX)",
|
|
518
|
+
"complexTypes": [],
|
|
519
|
+
"type": "string | undefined"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "accentColor",
|
|
523
|
+
"tags": [],
|
|
524
|
+
"docs": "ExoPlayer Progress Bar and Spinner color (Android)\nby Manuel García Marín (https://github.com/PhantomPainX)\nMust be a valid hex color code\ndefault: #FFFFFF",
|
|
525
|
+
"complexTypes": [],
|
|
526
|
+
"type": "string | undefined"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "chromecast",
|
|
530
|
+
"tags": [],
|
|
531
|
+
"docs": "Chromecast enable/disable (Android)\nby Manuel García Marín (https://github.com/PhantomPainX)\ndefault: true",
|
|
532
|
+
"complexTypes": [],
|
|
533
|
+
"type": "boolean | undefined"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "artwork",
|
|
537
|
+
"tags": [],
|
|
538
|
+
"docs": "Artwork url to be shown in Chromecast player\nby Manuel García Marín (https://github.com/PhantomPainX)\ndefault: \"\"",
|
|
539
|
+
"complexTypes": [],
|
|
540
|
+
"type": "string | undefined"
|
|
541
|
+
}
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "SubTitleOptions",
|
|
546
|
+
"slug": "subtitleoptions",
|
|
547
|
+
"docs": "",
|
|
548
|
+
"tags": [],
|
|
549
|
+
"methods": [],
|
|
550
|
+
"properties": [
|
|
551
|
+
{
|
|
552
|
+
"name": "foregroundColor",
|
|
553
|
+
"tags": [],
|
|
554
|
+
"docs": "Foreground Color in RGBA (default rgba(255,255,255,1)",
|
|
555
|
+
"complexTypes": [],
|
|
556
|
+
"type": "string | undefined"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "backgroundColor",
|
|
560
|
+
"tags": [],
|
|
561
|
+
"docs": "Background Color in RGBA (default rgba(0,0,0,1)",
|
|
562
|
+
"complexTypes": [],
|
|
563
|
+
"type": "string | undefined"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "fontSize",
|
|
567
|
+
"tags": [],
|
|
568
|
+
"docs": "Font Size in pixels (default 16)",
|
|
569
|
+
"complexTypes": [],
|
|
570
|
+
"type": "number | undefined"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "capVideoPlayerIdOptions",
|
|
576
|
+
"slug": "capvideoplayeridoptions",
|
|
577
|
+
"docs": "",
|
|
578
|
+
"tags": [],
|
|
579
|
+
"methods": [],
|
|
580
|
+
"properties": [
|
|
581
|
+
{
|
|
582
|
+
"name": "playerId",
|
|
583
|
+
"tags": [],
|
|
584
|
+
"docs": "Id of DIV Element parent of the player",
|
|
585
|
+
"complexTypes": [],
|
|
586
|
+
"type": "string | undefined"
|
|
587
|
+
}
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "capVideoTimeOptions",
|
|
592
|
+
"slug": "capvideotimeoptions",
|
|
593
|
+
"docs": "",
|
|
594
|
+
"tags": [],
|
|
595
|
+
"methods": [],
|
|
596
|
+
"properties": [
|
|
597
|
+
{
|
|
598
|
+
"name": "playerId",
|
|
599
|
+
"tags": [],
|
|
600
|
+
"docs": "Id of DIV Element parent of the player",
|
|
601
|
+
"complexTypes": [],
|
|
602
|
+
"type": "string | undefined"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "seektime",
|
|
606
|
+
"tags": [],
|
|
607
|
+
"docs": "Video time value you want to seek to",
|
|
608
|
+
"complexTypes": [],
|
|
609
|
+
"type": "number | undefined"
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"name": "capVideoVolumeOptions",
|
|
615
|
+
"slug": "capvideovolumeoptions",
|
|
616
|
+
"docs": "",
|
|
617
|
+
"tags": [],
|
|
618
|
+
"methods": [],
|
|
619
|
+
"properties": [
|
|
620
|
+
{
|
|
621
|
+
"name": "playerId",
|
|
622
|
+
"tags": [],
|
|
623
|
+
"docs": "Id of DIV Element parent of the player",
|
|
624
|
+
"complexTypes": [],
|
|
625
|
+
"type": "string | undefined"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "volume",
|
|
629
|
+
"tags": [],
|
|
630
|
+
"docs": "Volume value between [0 - 1]",
|
|
631
|
+
"complexTypes": [],
|
|
632
|
+
"type": "number | undefined"
|
|
633
|
+
}
|
|
634
|
+
]
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "capVideoMutedOptions",
|
|
638
|
+
"slug": "capvideomutedoptions",
|
|
639
|
+
"docs": "",
|
|
640
|
+
"tags": [],
|
|
641
|
+
"methods": [],
|
|
642
|
+
"properties": [
|
|
643
|
+
{
|
|
644
|
+
"name": "playerId",
|
|
645
|
+
"tags": [],
|
|
646
|
+
"docs": "Id of DIV Element parent of the player",
|
|
647
|
+
"complexTypes": [],
|
|
648
|
+
"type": "string | undefined"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "muted",
|
|
652
|
+
"tags": [],
|
|
653
|
+
"docs": "Muted value true or false",
|
|
654
|
+
"complexTypes": [],
|
|
655
|
+
"type": "boolean | undefined"
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "capVideoRateOptions",
|
|
661
|
+
"slug": "capvideorateoptions",
|
|
662
|
+
"docs": "",
|
|
663
|
+
"tags": [],
|
|
664
|
+
"methods": [],
|
|
665
|
+
"properties": [
|
|
666
|
+
{
|
|
667
|
+
"name": "playerId",
|
|
668
|
+
"tags": [],
|
|
669
|
+
"docs": "Id of DIV Element parent of the player",
|
|
670
|
+
"complexTypes": [],
|
|
671
|
+
"type": "string | undefined"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "rate",
|
|
675
|
+
"tags": [],
|
|
676
|
+
"docs": "Rate value",
|
|
677
|
+
"complexTypes": [],
|
|
678
|
+
"type": "number | undefined"
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"enums": [],
|
|
684
|
+
"typeAliases": [],
|
|
685
|
+
"pluginConfigs": []
|
|
686
|
+
}
|