@gcorevideo/player 2.19.14 → 2.20.1
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/assets/level-selector/list.ejs +2 -2
- package/dist/core.js +2 -2
- package/dist/index.css +780 -780
- package/dist/index.js +1720 -1473
- package/dist/player.d.ts +425 -94
- package/dist/plugins/index.css +1466 -1466
- package/dist/plugins/index.js +1501 -1252
- package/docs/api/player.bottomgear.getelement.md +56 -0
- package/docs/api/player.bottomgear.md +51 -0
- package/docs/api/player.bottomgear.setcontent.md +56 -0
- package/docs/api/player.clapprnerdstats.md +12 -259
- package/docs/api/player.dvrcontrols.md +5 -1
- package/docs/api/player.errorscreen.attributes.md +3 -0
- package/docs/api/player.errorscreen.bindevents.md +3 -0
- package/docs/api/player.errorscreen.container.md +3 -0
- package/docs/api/player.errorscreen.hide.md +3 -0
- package/docs/api/player.errorscreen.md +27 -0
- package/docs/api/player.errorscreen.name.md +3 -0
- package/docs/api/player.errorscreen.render.md +3 -0
- package/docs/api/player.errorscreen.show.md +3 -0
- package/docs/api/player.errorscreen.supportedversion.md +3 -0
- package/docs/api/player.errorscreen.template.md +3 -0
- package/docs/api/player.errorscreen.unbindevents.md +3 -0
- package/docs/api/player.gearevents.md +49 -0
- package/docs/api/{player.sourcecontroller.name.md → player.gearitemelement.md} +5 -3
- package/docs/api/{player.playbackrate.template.md → player.initeventdata.event.md} +3 -3
- package/docs/api/{player.playbackrate.updateplaybackrate.md → player.initeventdata.md} +15 -11
- package/docs/api/player.levelselector.md +9 -1
- package/docs/api/player.md +124 -4
- package/docs/api/{player.clapprnerdstats.render.md → player.mediacontrol.getrightpanel.md} +8 -4
- package/docs/api/player.mediacontrol.md +14 -0
- package/docs/api/player.mediacontrolelement.md +1 -1
- package/docs/api/player.pictureinpicture.md +9 -197
- package/docs/api/player.playbackrate.md +10 -314
- package/docs/api/player.sourcecontroller.md +0 -90
- package/docs/api/player.spinnerevents.md +49 -0
- package/docs/api/player.spinnerthreebounce._constructor_.md +3 -0
- package/docs/api/player.spinnerthreebounce.hide.md +5 -0
- package/docs/api/player.spinnerthreebounce.md +14 -95
- package/docs/api/player.spinnerthreebounce.show.md +6 -37
- package/docs/api/{player.playbackrate.onplay.md → player.stalleventdata.count.md} +5 -7
- package/docs/api/{player.playbackrate.name.md → player.stalleventdata.event.md} +3 -3
- package/docs/api/player.stalleventdata.md +112 -0
- package/docs/api/player.stalleventdata.time.md +13 -0
- package/docs/api/player.stalleventdata.total_ms.md +13 -0
- package/docs/api/{player.pluginsettings.md → player.starteventdata.event.md} +3 -5
- package/docs/api/{player.playbackrate.onrateselect.md → player.starteventdata.md} +15 -11
- package/docs/api/player.subtitles.hide.md +5 -0
- package/docs/api/player.subtitles.md +23 -275
- package/docs/api/player.subtitles.show.md +5 -0
- package/docs/api/{player.statistics._constructor_.md → player.telemetry._constructor_.md} +6 -3
- package/docs/api/player.telemetry.md +146 -0
- package/docs/api/{player.volumefade.name.md → player.telemetry.name.md} +4 -2
- package/docs/api/{player.sourcecontroller.supportedversion.md → player.telemetry.supportedversion.md} +4 -2
- package/docs/api/player.telemetryevent.md +89 -0
- package/docs/api/player.telemetryeventdata.md +15 -0
- package/docs/api/player.telemetrypluginsettings.md +57 -0
- package/docs/api/player.telemetrypluginsettings.send.md +13 -0
- package/docs/api/player.telemetryrecord.md +17 -0
- package/docs/api/player.volumefade.md +0 -93
- package/docs/api/{player.pictureinpicture.name.md → player.watcheventdata.event.md} +3 -3
- package/docs/api/{player.playbackrate.setselectedrate.md → player.watcheventdata.md} +15 -11
- package/lib/index.plugins.d.ts +2 -2
- package/lib/index.plugins.d.ts.map +1 -1
- package/lib/index.plugins.js +2 -2
- package/lib/playback/hls-playback/HlsPlayback.js +1 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts +20 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +28 -7
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +38 -5
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +67 -21
- package/lib/plugins/dvr-controls/DvrControls.d.ts +5 -2
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +5 -2
- package/lib/plugins/error-screen/ErrorScreen.d.ts +5 -0
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +5 -0
- package/lib/plugins/index.d.ts +2 -3
- package/lib/plugins/index.d.ts.map +1 -1
- package/lib/plugins/index.js +2 -3
- package/lib/plugins/level-selector/LevelSelector.d.ts +10 -3
- package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
- package/lib/plugins/level-selector/LevelSelector.js +20 -19
- package/lib/plugins/media-control/MediaControl.d.ts +6 -2
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +40 -39
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +32 -4
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts.map +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.js +30 -2
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +47 -14
- package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +38 -9
- package/lib/plugins/source-controller/SourceController.d.ts +9 -0
- package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.js +11 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +35 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +46 -23
- package/lib/plugins/statistics/Statistics.d.ts +38 -3
- package/lib/plugins/statistics/Statistics.d.ts.map +1 -1
- package/lib/plugins/statistics/Statistics.js +51 -9
- package/lib/plugins/subtitles/Subtitles.d.ts +65 -16
- package/lib/plugins/subtitles/Subtitles.d.ts.map +1 -1
- package/lib/plugins/subtitles/Subtitles.js +131 -109
- package/lib/plugins/telemetry/Telemetry.d.ts +135 -0
- package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -0
- package/lib/plugins/telemetry/Telemetry.js +180 -0
- package/lib/plugins/volume-fade/VolumeFade.d.ts +7 -1
- package/lib/plugins/volume-fade/VolumeFade.d.ts.map +1 -1
- package/lib/plugins/volume-fade/VolumeFade.js +8 -1
- package/package.json +1 -1
- package/src/index.plugins.ts +2 -2
- package/src/playback/hls-playback/HlsPlayback.ts +1 -1
- package/src/plugins/bottom-gear/BottomGear.ts +26 -4
- package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +240 -173
- package/src/plugins/dvr-controls/DvrControls.ts +5 -2
- package/src/plugins/error-screen/ErrorScreen.ts +5 -0
- package/src/plugins/index.ts +2 -3
- package/src/plugins/level-selector/LevelSelector.ts +22 -19
- package/src/plugins/level-selector/__tests__/LevelSelector.test.ts +47 -26
- package/src/plugins/level-selector/__tests__/__snapshots__/LevelSelector.test.ts.snap +18 -18
- package/src/plugins/media-control/MediaControl.ts +43 -41
- package/src/plugins/picture-in-picture/PictureInPicture.ts +35 -7
- package/src/plugins/playback-rate/PlaybackRate.ts +53 -24
- package/src/plugins/source-controller/SourceController.ts +11 -1
- package/src/plugins/source-controller/__tests__/SourceController.test.ts +1 -1
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +46 -22
- package/src/plugins/subtitles/Subtitles.ts +146 -155
- package/src/plugins/telemetry/Telemetry.ts +299 -0
- package/src/plugins/volume-fade/VolumeFade.ts +9 -2
- package/temp/player.api.json +3384 -4872
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.clapprnerdstats.attributes.md +0 -17
- package/docs/api/player.clapprnerdstats.bindevents.md +0 -18
- package/docs/api/player.clapprnerdstats.events.md +0 -18
- package/docs/api/player.clapprnerdstats.name.md +0 -14
- package/docs/api/player.clapprnerdstats.playerheight.md +0 -14
- package/docs/api/player.clapprnerdstats.playerwidth.md +0 -14
- package/docs/api/player.clapprnerdstats.statsboxelem.md +0 -14
- package/docs/api/player.clapprnerdstats.statsboxwidththreshold.md +0 -14
- package/docs/api/player.clapprnerdstats.supportedversion.md +0 -16
- package/docs/api/player.clapprnerdstats.template.md +0 -14
- package/docs/api/player.pictureinpicture.bindevents.md +0 -15
- package/docs/api/player.pictureinpicture.events.md +0 -13
- package/docs/api/player.pictureinpicture.exitpictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.render.md +0 -15
- package/docs/api/player.pictureinpicture.requestpictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.supportedversion.md +0 -13
- package/docs/api/player.pictureinpicture.togglepictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.version.md +0 -11
- package/docs/api/player.pictureinpicture.videoelement.md +0 -11
- package/docs/api/player.playbackrate.attributes.md +0 -14
- package/docs/api/player.playbackrate.bindevents.md +0 -15
- package/docs/api/player.playbackrate.events.md +0 -15
- package/docs/api/player.playbackrate.gettitle.md +0 -15
- package/docs/api/player.playbackrate.goback.md +0 -15
- package/docs/api/player.playbackrate.highlightcurrentrate.md +0 -15
- package/docs/api/player.playbackrate.onfinishad.md +0 -15
- package/docs/api/player.playbackrate.onshowmenu.md +0 -15
- package/docs/api/player.playbackrate.onstartad.md +0 -15
- package/docs/api/player.playbackrate.onstop.md +0 -15
- package/docs/api/player.playbackrate.reload.md +0 -15
- package/docs/api/player.playbackrate.render.md +0 -15
- package/docs/api/player.playbackrate.supportedversion.md +0 -13
- package/docs/api/player.playbackrate.unbindevents.md +0 -15
- package/docs/api/player.sourcecontroller.version.md +0 -14
- package/docs/api/player.spinnerthreebounce.attributes.md +0 -14
- package/docs/api/player.spinnerthreebounce.name.md +0 -11
- package/docs/api/player.spinnerthreebounce.render.md +0 -15
- package/docs/api/player.spinnerthreebounce.supportedversion.md +0 -13
- package/docs/api/player.statistics.bindevents.md +0 -15
- package/docs/api/player.statistics.md +0 -141
- package/docs/api/player.statistics.name.md +0 -11
- package/docs/api/player.statistics.supportedversion.md +0 -13
- package/docs/api/player.subtitles.attributes.md +0 -14
- package/docs/api/player.subtitles.bindevents.md +0 -15
- package/docs/api/player.subtitles.buttonelement.md +0 -15
- package/docs/api/player.subtitles.events.md +0 -14
- package/docs/api/player.subtitles.levelelement.md +0 -51
- package/docs/api/player.subtitles.name.md +0 -11
- package/docs/api/player.subtitles.preselectedlanguage.md +0 -11
- package/docs/api/player.subtitles.reload.md +0 -15
- package/docs/api/player.subtitles.render.md +0 -15
- package/docs/api/player.subtitles.selectsubtitles.md +0 -15
- package/docs/api/player.subtitles.startlevelswitch.md +0 -15
- package/docs/api/player.subtitles.stoplevelswitch.md +0 -15
- package/docs/api/player.subtitles.supportedversion.md +0 -13
- package/docs/api/player.subtitles.template.md +0 -11
- package/docs/api/player.subtitles.templatestring.md +0 -11
- package/docs/api/player.subtitles.unbindevents.md +0 -15
- package/docs/api/player.subtitles.version.md +0 -11
- package/docs/api/player.volumefade.bindevents.md +0 -18
- package/docs/api/player.volumefade.unbindevents.md +0 -18
- package/src/plugins/statistics/Statistics.ts +0 -207
- /package/src/plugins/{statistics → telemetry}/Statistics copy.xts +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [BottomGear](./player.bottomgear.md) > [getElement](./player.bottomgear.getelement.md)
|
|
4
|
+
|
|
5
|
+
## BottomGear.getElement() method
|
|
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
|
+
**Signature:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
getElement(name: GearItemElement): ZeptoResult | null;
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Parameters
|
|
17
|
+
|
|
18
|
+
<table><thead><tr><th>
|
|
19
|
+
|
|
20
|
+
Parameter
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</th><th>
|
|
24
|
+
|
|
25
|
+
Type
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</th><th>
|
|
29
|
+
|
|
30
|
+
Description
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
</th></tr></thead>
|
|
34
|
+
<tbody><tr><td>
|
|
35
|
+
|
|
36
|
+
name
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
</td><td>
|
|
40
|
+
|
|
41
|
+
[GearItemElement](./player.gearitemelement.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
Name of a gear menu placeholder item to attach custom UI
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td></tr>
|
|
50
|
+
</tbody></table>
|
|
51
|
+
**Returns:**
|
|
52
|
+
|
|
53
|
+
[ZeptoResult](./player.zeptoresult.md) \| null
|
|
54
|
+
|
|
55
|
+
Zepto result of the element
|
|
56
|
+
|
|
@@ -20,3 +20,54 @@ export declare class BottomGear extends UICorePlugin
|
|
|
20
20
|
|
|
21
21
|
The plugins provides a base for attaching custom settings UI in the gear menu
|
|
22
22
|
|
|
23
|
+
Depends on:
|
|
24
|
+
|
|
25
|
+
- [media\_control](./player.mediacontrol.md)
|
|
26
|
+
|
|
27
|
+
## Methods
|
|
28
|
+
|
|
29
|
+
<table><thead><tr><th>
|
|
30
|
+
|
|
31
|
+
Method
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
</th><th>
|
|
35
|
+
|
|
36
|
+
Modifiers
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
</th><th>
|
|
40
|
+
|
|
41
|
+
Description
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</th></tr></thead>
|
|
45
|
+
<tbody><tr><td>
|
|
46
|
+
|
|
47
|
+
[getElement(name)](./player.bottomgear.getelement.md)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
</td><td>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</td><td>
|
|
54
|
+
|
|
55
|
+
**_(BETA)_**
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
</td></tr>
|
|
59
|
+
<tr><td>
|
|
60
|
+
|
|
61
|
+
[setContent(content)](./player.bottomgear.setcontent.md)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</td><td>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
</td><td>
|
|
68
|
+
|
|
69
|
+
**_(BETA)_** Replaces the content of the gear menu
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
</td></tr>
|
|
73
|
+
</tbody></table>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [BottomGear](./player.bottomgear.md) > [setContent](./player.bottomgear.setcontent.md)
|
|
4
|
+
|
|
5
|
+
## BottomGear.setContent() method
|
|
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
|
+
Replaces the content of the gear menu
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
setContent(content: ZeptoResult): void;
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Parameters
|
|
19
|
+
|
|
20
|
+
<table><thead><tr><th>
|
|
21
|
+
|
|
22
|
+
Parameter
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Type
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Description
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th></tr></thead>
|
|
36
|
+
<tbody><tr><td>
|
|
37
|
+
|
|
38
|
+
content
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</td><td>
|
|
42
|
+
|
|
43
|
+
[ZeptoResult](./player.zeptoresult.md)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
Zepto result of the element
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td></tr>
|
|
52
|
+
</tbody></table>
|
|
53
|
+
**Returns:**
|
|
54
|
+
|
|
55
|
+
void
|
|
56
|
+
|
|
@@ -7,6 +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
|
+
Displays useful network-related statistics.
|
|
10
11
|
|
|
11
12
|
**Signature:**
|
|
12
13
|
|
|
@@ -15,259 +16,25 @@ export declare class ClapprNerdStats extends UICorePlugin
|
|
|
15
16
|
```
|
|
16
17
|
**Extends:** UICorePlugin
|
|
17
18
|
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
<table><thead><tr><th>
|
|
21
|
-
|
|
22
|
-
Constructor
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
19
|
+
## Remarks
|
|
26
20
|
|
|
27
|
-
|
|
21
|
+
Depends on:
|
|
28
22
|
|
|
23
|
+
- [MediaControl](./player.mediacontrol.md)
|
|
29
24
|
|
|
30
|
-
|
|
25
|
+
- [BottomGear](./player.bottomgear.md)
|
|
31
26
|
|
|
32
|
-
|
|
27
|
+
- [ClapprStats](./player.clapprstats.md)
|
|
33
28
|
|
|
29
|
+
The plugin is rendered as an item in the gear menu.
|
|
34
30
|
|
|
35
|
-
|
|
36
|
-
<tbody><tr><td>
|
|
37
|
-
|
|
38
|
-
[(constructor)(core)](./player.clapprnerdstats._constructor_.md)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
**_(BETA)_** Constructs a new instance of the `ClapprNerdStats` class
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td></tr>
|
|
50
|
-
</tbody></table>
|
|
51
|
-
|
|
52
|
-
## Properties
|
|
53
|
-
|
|
54
|
-
<table><thead><tr><th>
|
|
55
|
-
|
|
56
|
-
Property
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</th><th>
|
|
60
|
-
|
|
61
|
-
Modifiers
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</th><th>
|
|
65
|
-
|
|
66
|
-
Type
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</th><th>
|
|
70
|
-
|
|
71
|
-
Description
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</th></tr></thead>
|
|
75
|
-
<tbody><tr><td>
|
|
76
|
-
|
|
77
|
-
[attributes](./player.clapprnerdstats.attributes.md)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
`readonly`
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
{ 'data-clappr-nerd-stats': string; class: string; }
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</td><td>
|
|
91
|
-
|
|
92
|
-
**_(BETA)_**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</td></tr>
|
|
96
|
-
<tr><td>
|
|
97
|
-
|
|
98
|
-
[events](./player.clapprnerdstats.events.md)
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
</td><td>
|
|
102
|
-
|
|
103
|
-
`readonly`
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
{ 'click \[data-show-stats-button\]': string; 'click \[data-close-button\]': string; 'click \[data-refresh-button\]': string; }
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td><td>
|
|
112
|
-
|
|
113
|
-
**_(BETA)_**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</td></tr>
|
|
117
|
-
<tr><td>
|
|
118
|
-
|
|
119
|
-
[name](./player.clapprnerdstats.name.md)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
`readonly`
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td><td>
|
|
128
|
-
|
|
129
|
-
string
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td><td>
|
|
133
|
-
|
|
134
|
-
**_(BETA)_**
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
</td></tr>
|
|
138
|
-
<tr><td>
|
|
139
|
-
|
|
140
|
-
[playerHeight](./player.clapprnerdstats.playerheight.md)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</td><td>
|
|
144
|
-
|
|
145
|
-
`readonly`
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</td><td>
|
|
31
|
+
When clicked, it shows an overlay window with the information about the network speed, latency, etc, and recommended quality level.
|
|
149
32
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</td><td>
|
|
154
|
-
|
|
155
|
-
**_(BETA)_**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td></tr>
|
|
159
|
-
<tr><td>
|
|
160
|
-
|
|
161
|
-
[playerWidth](./player.clapprnerdstats.playerwidth.md)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
</td><td>
|
|
165
|
-
|
|
166
|
-
`readonly`
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td><td>
|
|
170
|
-
|
|
171
|
-
any
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td><td>
|
|
175
|
-
|
|
176
|
-
**_(BETA)_**
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</td></tr>
|
|
180
|
-
<tr><td>
|
|
181
|
-
|
|
182
|
-
[statsBoxElem](./player.clapprnerdstats.statsboxelem.md)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
</td><td>
|
|
186
|
-
|
|
187
|
-
`readonly`
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</td><td>
|
|
191
|
-
|
|
192
|
-
string
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
</td><td>
|
|
196
|
-
|
|
197
|
-
**_(BETA)_**
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
</td></tr>
|
|
201
|
-
<tr><td>
|
|
202
|
-
|
|
203
|
-
[statsBoxWidthThreshold](./player.clapprnerdstats.statsboxwidththreshold.md)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</td><td>
|
|
207
|
-
|
|
208
|
-
`readonly`
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
</td><td>
|
|
212
|
-
|
|
213
|
-
number
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
</td><td>
|
|
217
|
-
|
|
218
|
-
**_(BETA)_**
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
</td></tr>
|
|
222
|
-
<tr><td>
|
|
223
|
-
|
|
224
|
-
[supportedVersion](./player.clapprnerdstats.supportedversion.md)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
</td><td>
|
|
228
|
-
|
|
229
|
-
`readonly`
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</td><td>
|
|
233
|
-
|
|
234
|
-
{ min: string; }
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
</td><td>
|
|
238
|
-
|
|
239
|
-
**_(BETA)_**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
</td></tr>
|
|
243
|
-
<tr><td>
|
|
244
|
-
|
|
245
|
-
[template](./player.clapprnerdstats.template.md)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
</td><td>
|
|
249
|
-
|
|
250
|
-
`readonly`
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
</td><td>
|
|
254
|
-
|
|
255
|
-
any
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
</td><td>
|
|
259
|
-
|
|
260
|
-
**_(BETA)_**
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
</td></tr>
|
|
264
|
-
</tbody></table>
|
|
265
|
-
|
|
266
|
-
## Methods
|
|
33
|
+
## Constructors
|
|
267
34
|
|
|
268
35
|
<table><thead><tr><th>
|
|
269
36
|
|
|
270
|
-
|
|
37
|
+
Constructor
|
|
271
38
|
|
|
272
39
|
|
|
273
40
|
</th><th>
|
|
@@ -283,21 +50,7 @@ Description
|
|
|
283
50
|
</th></tr></thead>
|
|
284
51
|
<tbody><tr><td>
|
|
285
52
|
|
|
286
|
-
[
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
</td><td>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
</td><td>
|
|
293
|
-
|
|
294
|
-
**_(BETA)_**
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
</td></tr>
|
|
298
|
-
<tr><td>
|
|
299
|
-
|
|
300
|
-
[render()](./player.clapprnerdstats.render.md)
|
|
53
|
+
[(constructor)(core)](./player.clapprnerdstats._constructor_.md)
|
|
301
54
|
|
|
302
55
|
|
|
303
56
|
</td><td>
|
|
@@ -305,7 +58,7 @@ Description
|
|
|
305
58
|
|
|
306
59
|
</td><td>
|
|
307
60
|
|
|
308
|
-
**_(BETA)_**
|
|
61
|
+
**_(BETA)_** Constructs a new instance of the `ClapprNerdStats` class
|
|
309
62
|
|
|
310
63
|
|
|
311
64
|
</td></tr>
|
|
@@ -18,7 +18,11 @@ export declare class DvrControls extends UICorePlugin
|
|
|
18
18
|
|
|
19
19
|
## Remarks
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Depends on:
|
|
22
|
+
|
|
23
|
+
- [media\_control](./player.mediacontrol.md)
|
|
24
|
+
|
|
25
|
+
The plugin renders the live stream indicator and the DVR seek bar, if DVR is enabled, in the media control UI.
|
|
22
26
|
|
|
23
27
|
## Constructors
|
|
24
28
|
|
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
## ErrorScreen class
|
|
6
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
|
+
Displays a descriptive error in the overlay on top of the player.
|
|
11
|
+
|
|
12
|
+
TODO
|
|
13
|
+
|
|
7
14
|
**Signature:**
|
|
8
15
|
|
|
9
16
|
```typescript
|
|
@@ -51,6 +58,8 @@ Description
|
|
|
51
58
|
|
|
52
59
|
</td><td>
|
|
53
60
|
|
|
61
|
+
**_(BETA)_**
|
|
62
|
+
|
|
54
63
|
|
|
55
64
|
</td></tr>
|
|
56
65
|
<tr><td>
|
|
@@ -70,6 +79,8 @@ any
|
|
|
70
79
|
|
|
71
80
|
</td><td>
|
|
72
81
|
|
|
82
|
+
**_(BETA)_**
|
|
83
|
+
|
|
73
84
|
|
|
74
85
|
</td></tr>
|
|
75
86
|
<tr><td>
|
|
@@ -89,6 +100,8 @@ string
|
|
|
89
100
|
|
|
90
101
|
</td><td>
|
|
91
102
|
|
|
103
|
+
**_(BETA)_**
|
|
104
|
+
|
|
92
105
|
|
|
93
106
|
</td></tr>
|
|
94
107
|
<tr><td>
|
|
@@ -108,6 +121,8 @@ string
|
|
|
108
121
|
|
|
109
122
|
</td><td>
|
|
110
123
|
|
|
124
|
+
**_(BETA)_**
|
|
125
|
+
|
|
111
126
|
|
|
112
127
|
</td></tr>
|
|
113
128
|
<tr><td>
|
|
@@ -127,6 +142,8 @@ any
|
|
|
127
142
|
|
|
128
143
|
</td><td>
|
|
129
144
|
|
|
145
|
+
**_(BETA)_**
|
|
146
|
+
|
|
130
147
|
|
|
131
148
|
</td></tr>
|
|
132
149
|
</tbody></table>
|
|
@@ -159,6 +176,8 @@ Description
|
|
|
159
176
|
|
|
160
177
|
</td><td>
|
|
161
178
|
|
|
179
|
+
**_(BETA)_**
|
|
180
|
+
|
|
162
181
|
|
|
163
182
|
</td></tr>
|
|
164
183
|
<tr><td>
|
|
@@ -171,6 +190,8 @@ Description
|
|
|
171
190
|
|
|
172
191
|
</td><td>
|
|
173
192
|
|
|
193
|
+
**_(BETA)_**
|
|
194
|
+
|
|
174
195
|
|
|
175
196
|
</td></tr>
|
|
176
197
|
<tr><td>
|
|
@@ -183,6 +204,8 @@ Description
|
|
|
183
204
|
|
|
184
205
|
</td><td>
|
|
185
206
|
|
|
207
|
+
**_(BETA)_**
|
|
208
|
+
|
|
186
209
|
|
|
187
210
|
</td></tr>
|
|
188
211
|
<tr><td>
|
|
@@ -195,6 +218,8 @@ Description
|
|
|
195
218
|
|
|
196
219
|
</td><td>
|
|
197
220
|
|
|
221
|
+
**_(BETA)_**
|
|
222
|
+
|
|
198
223
|
|
|
199
224
|
</td></tr>
|
|
200
225
|
<tr><td>
|
|
@@ -207,6 +232,8 @@ Description
|
|
|
207
232
|
|
|
208
233
|
</td><td>
|
|
209
234
|
|
|
235
|
+
**_(BETA)_**
|
|
236
|
+
|
|
210
237
|
|
|
211
238
|
</td></tr>
|
|
212
239
|
</tbody></table>
|