@gcorevideo/player 2.20.8 → 2.20.9
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/dist/core.js +18 -13
- package/dist/index.css +1541 -1541
- package/dist/index.js +59 -52
- package/dist/player.d.ts +178 -126
- package/dist/plugins/index.css +665 -665
- package/dist/plugins/index.js +42 -40
- package/docs/api/player.bottomgear.md +14 -0
- package/docs/api/player.bottomgear.refresh.md +20 -0
- package/docs/api/player.clapprnerdstats.md +1 -1
- package/docs/api/player.clapprstats.exportmetrics.md +1 -1
- package/docs/api/player.clapprstats.md +1 -15
- package/docs/api/player.clapprstats.setupdatemetrics.md +2 -0
- package/docs/api/player.clipsplugin.md +1 -1
- package/docs/api/player.clipspluginsettings.md +5 -2
- package/docs/api/player.clipspluginsettings.text.md +3 -0
- package/docs/api/player.containerpluginconstructor.md +19 -0
- package/docs/api/{player.errorscreen.render.md → player.corepluginconstructor.md} +7 -6
- package/docs/api/player.errordesc.md +28 -0
- package/docs/api/player.errorscreen.md +1 -220
- package/docs/api/{player.errorscreen.bindevents.md → player.errorscreenpluginsettings.md} +7 -7
- package/docs/api/player.levelselector.md +3 -9
- package/docs/api/player.levelselectorpluginsettings.labels.md +24 -0
- package/docs/api/player.levelselectorpluginsettings.md +79 -0
- package/docs/api/player.levelselectorpluginsettings.restrictresolution.md +16 -0
- package/docs/api/player.md +93 -16
- package/docs/api/{player.errorscreen.hide.md → player.mediacontrol.currentseekpos.md} +3 -7
- package/docs/api/player.mediacontrol.disable.md +1 -1
- package/docs/api/player.mediacontrol.md +23 -2
- package/docs/api/{player.gearevents.md → player.mediacontrolevents.md} +4 -4
- package/docs/api/player.multicamera.md +1 -29
- package/docs/api/player.playbackerror.md +19 -0
- package/docs/api/{player.errorscreen.supportedversion.md → player.playbackerror.ui.md} +7 -4
- package/docs/api/player.playbackerrorcode.md +3 -3
- package/docs/api/{player.errorscreen.show.md → player.playbackrate._constructor_.md} +7 -11
- package/docs/api/player.playbackrate.md +35 -2
- package/docs/api/player.player.registerplugin.md +2 -2
- package/docs/api/player.player.unregisterplugin.md +2 -2
- package/docs/api/player.playerpluginconstructor.md +17 -0
- package/docs/api/player.share.attributes.md +3 -0
- package/docs/api/player.share.bindevents.md +3 -0
- package/docs/api/player.share.canshowshare.md +3 -0
- package/docs/api/player.share.events.md +3 -0
- package/docs/api/player.share.hideshare.md +3 -0
- package/docs/api/player.share.initializeicons.md +3 -0
- package/docs/api/player.share.md +40 -1
- package/docs/api/player.share.name.md +3 -0
- package/docs/api/player.share.onshareembedclick.md +3 -0
- package/docs/api/player.share.onsharefb.md +3 -0
- package/docs/api/player.share.onsharehide.md +3 -0
- package/docs/api/player.share.onsharelinkclick.md +3 -0
- package/docs/api/player.share.onshareshow.md +3 -0
- package/docs/api/player.share.onsharetw.md +3 -0
- package/docs/api/player.share.render.md +3 -0
- package/docs/api/player.share.showshare.md +3 -0
- package/docs/api/player.share.supportedversion.md +3 -0
- package/docs/api/player.share.template.md +3 -0
- package/docs/api/player.share.unbindevents.md +3 -0
- package/docs/api/player.skiptime.attributes.md +3 -0
- package/docs/api/player.skiptime.bindevents.md +3 -0
- package/docs/api/player.skiptime.container.md +3 -0
- package/docs/api/player.skiptime.events.md +3 -0
- package/docs/api/player.skiptime.handlerewindclicks.md +3 -0
- package/docs/api/player.skiptime.md +30 -1
- package/docs/api/player.skiptime.name.md +3 -0
- package/docs/api/player.skiptime.render.md +3 -0
- package/docs/api/player.skiptime.setback.md +3 -0
- package/docs/api/player.skiptime.setforward.md +3 -0
- package/docs/api/player.skiptime.setmidclick.md +3 -0
- package/docs/api/player.skiptime.supportedversion.md +3 -0
- package/docs/api/player.skiptime.template.md +3 -0
- package/docs/api/player.skiptime.togglefullscreen.md +3 -0
- package/docs/api/player.spinnerevents.md +4 -1
- package/docs/api/player.spinnerthreebounce.hide.md +1 -1
- package/docs/api/player.spinnerthreebounce.md +7 -5
- package/docs/api/player.spinnerthreebounce.show.md +40 -2
- package/docs/api/player.telemetry.md +1 -1
- package/docs/api/player.telemetrypluginsettings.md +1 -1
- package/docs/api/{player.errorscreen.unbindevents.md → player.telemetrysendfn.md} +6 -6
- package/lib/Player.d.ts +13 -4
- package/lib/Player.d.ts.map +1 -1
- package/lib/Player.js +17 -12
- package/lib/index.core.d.ts +0 -1
- package/lib/index.core.d.ts.map +1 -1
- package/lib/index.core.js +0 -1
- package/lib/index.plugins.d.ts +0 -1
- package/lib/index.plugins.d.ts.map +1 -1
- package/lib/index.plugins.js +0 -1
- package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
- package/lib/playback/hls-playback/HlsPlayback.js +1 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +1 -1
- package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/speedtest/Speedtest.js +8 -8
- package/lib/plugins/clappr-stats/ClapprStats.d.ts +4 -5
- package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/ClapprStats.js +4 -3
- package/lib/plugins/clips/Clips.d.ts +3 -2
- package/lib/plugins/clips/Clips.d.ts.map +1 -1
- package/lib/plugins/clips/Clips.js +1 -1
- package/lib/plugins/context-menu/ContextMenu.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.d.ts +3 -2
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +3 -2
- package/lib/plugins/error-screen/ErrorScreen.d.ts +12 -1
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +1 -1
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.d.ts.map +1 -1
- package/lib/plugins/index.js +0 -1
- package/lib/plugins/kibo/index.d.ts +0 -3
- package/lib/plugins/kibo/index.d.ts.map +1 -1
- package/lib/plugins/kibo/index.js +0 -3
- package/lib/plugins/level-selector/LevelSelector.d.ts +6 -4
- package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
- package/lib/plugins/level-selector/LevelSelector.js +2 -4
- package/lib/plugins/media-control/MediaControl.d.ts +4 -4
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +3 -3
- package/lib/plugins/multi-camera/MultiCamera.d.ts +3 -11
- package/lib/plugins/multi-camera/MultiCamera.d.ts.map +1 -1
- package/lib/plugins/multi-camera/MultiCamera.js +1 -1
- package/lib/plugins/poster/Poster.js +2 -2
- package/lib/plugins/share/Share.d.ts +2 -1
- package/lib/plugins/share/Share.d.ts.map +1 -1
- package/lib/plugins/share/Share.js +2 -1
- package/lib/plugins/skip-time/SkipTime.d.ts +2 -1
- package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
- package/lib/plugins/skip-time/SkipTime.js +2 -1
- package/lib/plugins/source-controller/SourceController.js +3 -3
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +6 -3
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +6 -3
- package/lib/plugins/telemetry/Telemetry.d.ts +2 -3
- package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -1
- package/lib/plugins/telemetry/Telemetry.js +1 -1
- package/lib/plugins/vast-ads/VastAds.d.ts.map +1 -1
- package/lib/plugins/vast-ads/VastAds.js +3 -3
- package/lib/plugins/vast-ads/roll.d.ts +1 -1
- package/lib/plugins/vast-ads/roll.d.ts.map +1 -1
- package/lib/plugins/vast-ads/rollmanager.d.ts +1 -1
- package/lib/plugins/vast-ads/rollmanager.d.ts.map +1 -1
- package/lib/plugins/vast-ads/rollmanager.js +2 -2
- package/lib/types.d.ts +21 -5
- package/lib/types.d.ts.map +1 -1
- package/lib/utils/types.d.ts +0 -6
- package/lib/utils/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Player.ts +18 -16
- package/src/index.core.ts +0 -1
- package/src/index.plugins.ts +0 -1
- package/src/playback/hls-playback/HlsPlayback.ts +7 -11
- package/src/plugins/audio-selector/AudioSelector.ts +1 -1
- package/src/plugins/big-mute-button/BigMuteButton.ts +1 -1
- package/src/plugins/bottom-gear/BottomGear.ts +1 -1
- package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +2 -2
- package/src/plugins/clappr-nerd-stats/speedtest/Speedtest.ts +184 -187
- package/src/plugins/clappr-stats/ClapprStats.ts +5 -4
- package/src/plugins/clips/Clips.ts +4 -3
- package/src/plugins/context-menu/ContextMenu.ts +0 -2
- package/src/plugins/dvr-controls/DvrControls.ts +3 -2
- package/src/plugins/error-screen/ErrorScreen.ts +12 -1
- package/src/plugins/favicon/Favicon.ts +1 -1
- package/src/plugins/index.ts +0 -1
- package/src/plugins/kibo/index.ts +0 -3
- package/src/plugins/level-selector/LevelSelector.ts +7 -5
- package/src/plugins/logo/Logo.ts +1 -1
- package/src/plugins/media-control/MediaControl.ts +4 -4
- package/src/plugins/multi-camera/MultiCamera.ts +4 -4
- package/src/plugins/playback-rate/PlaybackRate.ts +1 -1
- package/src/plugins/poster/Poster.ts +3 -3
- package/src/plugins/seek-time/SeekTime.ts +1 -1
- package/src/plugins/share/Share.ts +2 -1
- package/src/plugins/skip-time/SkipTime.ts +2 -1
- package/src/plugins/source-controller/SourceController.ts +3 -3
- package/src/plugins/source-controller/__tests__/SourceController.test.ts +2 -2
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +6 -3
- package/src/plugins/subtitles/Subtitles.ts +1 -1
- package/src/plugins/telemetry/Telemetry.ts +2 -2
- package/src/plugins/thumbnails/Thumbnails.ts +1 -1
- package/src/plugins/vast-ads/VastAds.ts +5 -4
- package/src/plugins/vast-ads/roll.ts +2 -1
- package/src/plugins/vast-ads/rollmanager.ts +3 -3
- package/src/types.ts +24 -5
- package/src/utils/types.ts +0 -8
- package/temp/player.api.json +540 -576
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.clapprstats.onbitrate.md +0 -52
- package/docs/api/player.errorscreen.attributes.md +0 -17
- package/docs/api/player.errorscreen.container.md +0 -14
- package/docs/api/player.errorscreen.name.md +0 -14
- package/docs/api/player.errorscreen.template.md +0 -14
- package/docs/api/player.multicamera.getcameraslist.md +0 -18
- package/docs/api/player.multicamera.getcurrentcamera.md +0 -18
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
PLUGIN that provides a foundation for developing custom media controls UI.
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -88,6 +88,27 @@ Description
|
|
|
88
88
|
</th></tr></thead>
|
|
89
89
|
<tbody><tr><td>
|
|
90
90
|
|
|
91
|
+
[currentSeekPos](./player.mediacontrol.currentseekpos.md)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td><td>
|
|
95
|
+
|
|
96
|
+
`readonly`
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</td><td>
|
|
100
|
+
|
|
101
|
+
number
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
</td><td>
|
|
105
|
+
|
|
106
|
+
**_(BETA)_**
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
</td></tr>
|
|
110
|
+
<tr><td>
|
|
111
|
+
|
|
91
112
|
[muted](./player.mediacontrol.muted.md)
|
|
92
113
|
|
|
93
114
|
|
|
@@ -158,7 +179,7 @@ Description
|
|
|
158
179
|
|
|
159
180
|
</td><td>
|
|
160
181
|
|
|
161
|
-
**_(BETA)_**
|
|
182
|
+
**_(BETA)_** Hides the media control UI
|
|
162
183
|
|
|
163
184
|
|
|
164
185
|
</td></tr>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@gcorevideo/player](./player.md) > [
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [MediaControlEvents](./player.mediacontrolevents.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## MediaControlEvents enum
|
|
6
6
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
-
Custom events emitted by the
|
|
10
|
+
Custom events emitted by the plugins to communicate with one another
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
export declare enum
|
|
15
|
+
export declare enum MediaControlEvents
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Enumeration Members
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
PLUGIN that adds support for loading multiple streams and switching between them using the media control UI.
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -248,34 +248,6 @@ Description
|
|
|
248
248
|
**_(BETA)_**
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
</td></tr>
|
|
252
|
-
<tr><td>
|
|
253
|
-
|
|
254
|
-
[getCamerasList()](./player.multicamera.getcameraslist.md)
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
</td><td>
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
</td><td>
|
|
261
|
-
|
|
262
|
-
**_(BETA)_**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
</td></tr>
|
|
266
|
-
<tr><td>
|
|
267
|
-
|
|
268
|
-
[getCurrentCamera()](./player.multicamera.getcurrentcamera.md)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
</td><td>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
</td><td>
|
|
275
|
-
|
|
276
|
-
**_(BETA)_**
|
|
277
|
-
|
|
278
|
-
|
|
279
251
|
</td></tr>
|
|
280
252
|
<tr><td>
|
|
281
253
|
|
|
@@ -151,5 +151,24 @@ string
|
|
|
151
151
|
**_(BETA)_** Component subsystem of the error origin
|
|
152
152
|
|
|
153
153
|
|
|
154
|
+
</td></tr>
|
|
155
|
+
<tr><td>
|
|
156
|
+
|
|
157
|
+
[UI?](./player.playbackerror.ui.md)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</td><td>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
</td><td>
|
|
164
|
+
|
|
165
|
+
{ title: string; message: string; }
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
</td><td>
|
|
169
|
+
|
|
170
|
+
**_(BETA)_** _(Optional)_ UI description of the error.
|
|
171
|
+
|
|
172
|
+
|
|
154
173
|
</td></tr>
|
|
155
174
|
</tbody></table>
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@gcorevideo/player](./player.md) > [
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [PlaybackError](./player.playbackerror.md) > [UI](./player.playbackerror.ui.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## PlaybackError.UI property
|
|
6
6
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
+
UI description of the error.
|
|
11
|
+
|
|
10
12
|
**Signature:**
|
|
11
13
|
|
|
12
14
|
```typescript
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
UI?: {
|
|
16
|
+
title: string;
|
|
17
|
+
message: string;
|
|
15
18
|
};
|
|
16
19
|
```
|
|
@@ -40,7 +40,7 @@ Generic
|
|
|
40
40
|
|
|
41
41
|
</td><td>
|
|
42
42
|
|
|
43
|
-
`
|
|
43
|
+
`"GENERIC_ERROR"`
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
</td><td>
|
|
@@ -56,7 +56,7 @@ MediaSourceAccessDenied
|
|
|
56
56
|
|
|
57
57
|
</td><td>
|
|
58
58
|
|
|
59
|
-
`
|
|
59
|
+
`"MEDIA_SOURCE_ACCESS_DENIED"`
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
</td><td>
|
|
@@ -72,7 +72,7 @@ MediaSourceUnavailable
|
|
|
72
72
|
|
|
73
73
|
</td><td>
|
|
74
74
|
|
|
75
|
-
`
|
|
75
|
+
`"MEDIA_SOURCE_UNAVAILABLE"`
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
</td><td>
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@gcorevideo/player](./player.md) > [
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [PlaybackRate](./player.playbackrate.md) > [(constructor)](./player.playbackrate._constructor_.md)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## PlaybackRate.(constructor)
|
|
6
6
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
+
Constructs a new instance of the `PlaybackRate` class
|
|
11
|
+
|
|
10
12
|
**Signature:**
|
|
11
13
|
|
|
12
14
|
```typescript
|
|
13
|
-
|
|
15
|
+
constructor(core: Core);
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Parameters
|
|
@@ -33,22 +35,16 @@ Description
|
|
|
33
35
|
</th></tr></thead>
|
|
34
36
|
<tbody><tr><td>
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
core
|
|
37
39
|
|
|
38
40
|
|
|
39
41
|
</td><td>
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
Core
|
|
42
44
|
|
|
43
45
|
|
|
44
46
|
</td><td>
|
|
45
47
|
|
|
46
|
-
_(Optional)_
|
|
47
|
-
|
|
48
48
|
|
|
49
49
|
</td></tr>
|
|
50
50
|
</tbody></table>
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
PLUGIN that allows changing the playback speed of the video.
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -24,5 +24,38 @@ Depends on:
|
|
|
24
24
|
|
|
25
25
|
- [bottom\_gear](./player.bottomgear.md)
|
|
26
26
|
|
|
27
|
-
It renders a button in the gear menu, which opens a dropdown with the
|
|
27
|
+
It renders a button in the gear menu, which opens a dropdown with the options to change the playback rate.
|
|
28
28
|
|
|
29
|
+
## Constructors
|
|
30
|
+
|
|
31
|
+
<table><thead><tr><th>
|
|
32
|
+
|
|
33
|
+
Constructor
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
</th><th>
|
|
37
|
+
|
|
38
|
+
Modifiers
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</th><th>
|
|
42
|
+
|
|
43
|
+
Description
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</th></tr></thead>
|
|
47
|
+
<tbody><tr><td>
|
|
48
|
+
|
|
49
|
+
[(constructor)(core)](./player.playbackrate._constructor_.md)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</td><td>
|
|
56
|
+
|
|
57
|
+
**_(BETA)_** Constructs a new instance of the `PlaybackRate` class
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td></tr>
|
|
61
|
+
</tbody></table>
|
|
@@ -12,7 +12,7 @@ Registers a plugin.
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
static registerPlugin(plugin:
|
|
15
|
+
static registerPlugin(plugin: PlayerPluginConstructor): void;
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
@@ -40,7 +40,7 @@ plugin
|
|
|
40
40
|
|
|
41
41
|
</td><td>
|
|
42
42
|
|
|
43
|
-
[
|
|
43
|
+
[PlayerPluginConstructor](./player.playerpluginconstructor.md)
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
</td><td>
|
|
@@ -12,7 +12,7 @@ Unregisters a plugin registered earlier with [Player.registerPlugin()](./player.
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
static unregisterPlugin(plugin:
|
|
15
|
+
static unregisterPlugin(plugin: PlayerPluginConstructor): void;
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
@@ -40,7 +40,7 @@ plugin
|
|
|
40
40
|
|
|
41
41
|
</td><td>
|
|
42
42
|
|
|
43
|
-
[
|
|
43
|
+
[PlayerPluginConstructor](./player.playerpluginconstructor.md)
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
</td><td>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [PlayerPluginConstructor](./player.playerpluginconstructor.md)
|
|
4
|
+
|
|
5
|
+
## PlayerPluginConstructor type
|
|
6
|
+
|
|
7
|
+
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
**Signature:**
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
export type PlayerPluginConstructor = CorePluginConstructor | ContainerPluginConstructor;
|
|
15
|
+
```
|
|
16
|
+
**References:** [CorePluginConstructor](./player.corepluginconstructor.md)<!-- -->, [ContainerPluginConstructor](./player.containerpluginconstructor.md)
|
|
17
|
+
|
package/docs/api/player.share.md
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## Share class
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
PLUGIN that adds a share button to the media control UI.
|
|
8
11
|
|
|
9
12
|
**Signature:**
|
|
10
13
|
|
|
@@ -53,6 +56,8 @@ Description
|
|
|
53
56
|
|
|
54
57
|
</td><td>
|
|
55
58
|
|
|
59
|
+
**_(BETA)_**
|
|
60
|
+
|
|
56
61
|
|
|
57
62
|
</td></tr>
|
|
58
63
|
<tr><td>
|
|
@@ -72,6 +77,8 @@ Description
|
|
|
72
77
|
|
|
73
78
|
</td><td>
|
|
74
79
|
|
|
80
|
+
**_(BETA)_**
|
|
81
|
+
|
|
75
82
|
|
|
76
83
|
</td></tr>
|
|
77
84
|
<tr><td>
|
|
@@ -91,6 +98,8 @@ string
|
|
|
91
98
|
|
|
92
99
|
</td><td>
|
|
93
100
|
|
|
101
|
+
**_(BETA)_**
|
|
102
|
+
|
|
94
103
|
|
|
95
104
|
</td></tr>
|
|
96
105
|
<tr><td>
|
|
@@ -110,6 +119,8 @@ string
|
|
|
110
119
|
|
|
111
120
|
</td><td>
|
|
112
121
|
|
|
122
|
+
**_(BETA)_**
|
|
123
|
+
|
|
113
124
|
|
|
114
125
|
</td></tr>
|
|
115
126
|
<tr><td>
|
|
@@ -129,6 +140,8 @@ any
|
|
|
129
140
|
|
|
130
141
|
</td><td>
|
|
131
142
|
|
|
143
|
+
**_(BETA)_**
|
|
144
|
+
|
|
132
145
|
|
|
133
146
|
</td></tr>
|
|
134
147
|
</tbody></table>
|
|
@@ -161,6 +174,8 @@ Description
|
|
|
161
174
|
|
|
162
175
|
</td><td>
|
|
163
176
|
|
|
177
|
+
**_(BETA)_**
|
|
178
|
+
|
|
164
179
|
|
|
165
180
|
</td></tr>
|
|
166
181
|
<tr><td>
|
|
@@ -173,6 +188,8 @@ Description
|
|
|
173
188
|
|
|
174
189
|
</td><td>
|
|
175
190
|
|
|
191
|
+
**_(BETA)_**
|
|
192
|
+
|
|
176
193
|
|
|
177
194
|
</td></tr>
|
|
178
195
|
<tr><td>
|
|
@@ -185,6 +202,8 @@ Description
|
|
|
185
202
|
|
|
186
203
|
</td><td>
|
|
187
204
|
|
|
205
|
+
**_(BETA)_**
|
|
206
|
+
|
|
188
207
|
|
|
189
208
|
</td></tr>
|
|
190
209
|
<tr><td>
|
|
@@ -197,6 +216,8 @@ Description
|
|
|
197
216
|
|
|
198
217
|
</td><td>
|
|
199
218
|
|
|
219
|
+
**_(BETA)_**
|
|
220
|
+
|
|
200
221
|
|
|
201
222
|
</td></tr>
|
|
202
223
|
<tr><td>
|
|
@@ -209,6 +230,8 @@ Description
|
|
|
209
230
|
|
|
210
231
|
</td><td>
|
|
211
232
|
|
|
233
|
+
**_(BETA)_**
|
|
234
|
+
|
|
212
235
|
|
|
213
236
|
</td></tr>
|
|
214
237
|
<tr><td>
|
|
@@ -221,6 +244,8 @@ Description
|
|
|
221
244
|
|
|
222
245
|
</td><td>
|
|
223
246
|
|
|
247
|
+
**_(BETA)_**
|
|
248
|
+
|
|
224
249
|
|
|
225
250
|
</td></tr>
|
|
226
251
|
<tr><td>
|
|
@@ -233,6 +258,8 @@ Description
|
|
|
233
258
|
|
|
234
259
|
</td><td>
|
|
235
260
|
|
|
261
|
+
**_(BETA)_**
|
|
262
|
+
|
|
236
263
|
|
|
237
264
|
</td></tr>
|
|
238
265
|
<tr><td>
|
|
@@ -245,6 +272,8 @@ Description
|
|
|
245
272
|
|
|
246
273
|
</td><td>
|
|
247
274
|
|
|
275
|
+
**_(BETA)_**
|
|
276
|
+
|
|
248
277
|
|
|
249
278
|
</td></tr>
|
|
250
279
|
<tr><td>
|
|
@@ -257,6 +286,8 @@ Description
|
|
|
257
286
|
|
|
258
287
|
</td><td>
|
|
259
288
|
|
|
289
|
+
**_(BETA)_**
|
|
290
|
+
|
|
260
291
|
|
|
261
292
|
</td></tr>
|
|
262
293
|
<tr><td>
|
|
@@ -269,6 +300,8 @@ Description
|
|
|
269
300
|
|
|
270
301
|
</td><td>
|
|
271
302
|
|
|
303
|
+
**_(BETA)_**
|
|
304
|
+
|
|
272
305
|
|
|
273
306
|
</td></tr>
|
|
274
307
|
<tr><td>
|
|
@@ -281,6 +314,8 @@ Description
|
|
|
281
314
|
|
|
282
315
|
</td><td>
|
|
283
316
|
|
|
317
|
+
**_(BETA)_**
|
|
318
|
+
|
|
284
319
|
|
|
285
320
|
</td></tr>
|
|
286
321
|
<tr><td>
|
|
@@ -293,6 +328,8 @@ Description
|
|
|
293
328
|
|
|
294
329
|
</td><td>
|
|
295
330
|
|
|
331
|
+
**_(BETA)_**
|
|
332
|
+
|
|
296
333
|
|
|
297
334
|
</td></tr>
|
|
298
335
|
<tr><td>
|
|
@@ -305,6 +342,8 @@ Description
|
|
|
305
342
|
|
|
306
343
|
</td><td>
|
|
307
344
|
|
|
345
|
+
**_(BETA)_**
|
|
346
|
+
|
|
308
347
|
|
|
309
348
|
</td></tr>
|
|
310
349
|
</tbody></table>
|