@gcorevideo/player 2.25.9 → 2.26.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/dist/core.js +23 -78
- package/dist/index.css +1193 -1193
- package/dist/index.embed.js +89 -153
- package/dist/index.js +112 -249
- package/dist/player.d.ts +2798 -2785
- package/docs/api/player.bigmutebutton.md +0 -3
- package/docs/api/player.bottomgear.additem.md +0 -3
- package/docs/api/player.bottomgear.md +2 -5
- package/docs/api/player.bottomgear.refresh.md +0 -3
- package/docs/api/player.clapprstats._constructor_.md +0 -3
- package/docs/api/player.clapprstats.clearmetrics.md +0 -3
- package/docs/api/player.clapprstats.exportmetrics.md +1 -4
- package/docs/api/player.clapprstats.md +2 -7
- package/docs/api/player.clapprstatsbitratetrack.md +0 -3
- package/docs/api/player.clapprstatschronograph.md +0 -13
- package/docs/api/player.clapprstatscounter.md +0 -25
- package/docs/api/player.clapprstatsevents.md +1 -4
- package/docs/api/player.clapprstatsmetrics.md +0 -3
- package/docs/api/player.clapprstatssettings.md +1 -4
- package/docs/api/player.clapprstatssettings.runeach.md +0 -3
- package/docs/api/player.clicktopause.md +0 -3
- package/docs/api/player.clips.destroy.md +0 -3
- package/docs/api/player.clips.disable.md +0 -3
- package/docs/api/player.clips.enable.md +0 -3
- package/docs/api/player.clips.gettext.md +0 -3
- package/docs/api/player.clips.md +1 -16
- package/docs/api/player.clips.render.md +0 -3
- package/docs/api/player.clips.supportedversion.md +0 -3
- package/docs/api/player.clips.version.md +0 -3
- package/docs/api/player.clipspluginsettings.md +1 -4
- package/docs/api/player.clipspluginsettings.text.md +0 -3
- package/docs/api/player.closedcaptions.hide.md +0 -3
- package/docs/api/player.closedcaptions.md +6 -5
- package/docs/api/player.closedcaptions.show.md +0 -3
- package/docs/api/player.closedcaptionspluginsettings.md +0 -3
- package/docs/api/player.cmcdconfig._constructor_.md +0 -3
- package/docs/api/player.cmcdconfig.exportids.md +0 -3
- package/docs/api/player.cmcdconfig.md +2 -5
- package/docs/api/player.cmcdconfigoptions.contentid.md +0 -3
- package/docs/api/player.cmcdconfigoptions.md +2 -5
- package/docs/api/player.cmcdconfigoptions.sessionid.md +0 -3
- package/docs/api/player.dvrcontrols.md +0 -3
- package/docs/api/player.extendedevents.md +0 -7
- package/docs/api/player.favicon.md +0 -3
- package/docs/api/player.faviconpluginsettings.faviconcolor.md +0 -3
- package/docs/api/player.faviconpluginsettings.md +1 -4
- package/docs/api/player.gearevents.md +1 -4
- package/docs/api/player.md +24 -43
- package/docs/api/player.mediacontrol.defaultsettings.md +5 -1
- package/docs/api/player.mediacontrol.getavailablepopupheight.md +20 -0
- package/docs/api/player.mediacontrol.md +14 -0
- package/docs/api/player.menuoption.md +0 -3
- package/docs/api/player.nerdstats._constructor_.md +0 -3
- package/docs/api/player.nerdstats.md +1 -4
- package/docs/api/player.pictureinpicture.attributes.md +0 -3
- package/docs/api/player.pictureinpicture.md +2 -7
- package/docs/api/player.playbackrateoption.md +0 -3
- package/docs/api/player.playbackratesettings.md +0 -3
- package/docs/api/player.poster.disable.md +0 -3
- package/docs/api/player.poster.enable.md +0 -3
- package/docs/api/player.poster.md +2 -5
- package/docs/api/player.posterpluginsettings.custom.md +0 -3
- package/docs/api/player.posterpluginsettings.md +4 -7
- package/docs/api/player.posterpluginsettings.showfornoop.md +0 -3
- package/docs/api/player.posterpluginsettings.showonvideoend.md +0 -3
- package/docs/api/player.posterpluginsettings.url.md +0 -3
- package/docs/api/player.qualitylevels.events.md +0 -3
- package/docs/api/player.qualitylevels.md +0 -5
- package/docs/api/player.qualitylevelspluginsettings.labels.md +0 -3
- package/docs/api/player.qualitylevelspluginsettings.md +2 -5
- package/docs/api/player.qualitylevelspluginsettings.restrictresolution.md +0 -3
- package/docs/api/player.skiptime.container.md +0 -3
- package/docs/api/player.skiptime.md +0 -9
- package/docs/api/player.skiptime.name.md +0 -3
- package/docs/api/player.skiptime.supportedversion.md +0 -3
- package/docs/api/player.volumefadeevents.md +0 -5
- package/docs/api/player.volumefadesettings.md +0 -3
- package/docs/api/player.zeptoresult.md +0 -3
- package/lib/Player.d.ts.map +1 -1
- package/lib/Player.js +0 -29
- package/lib/playback/HTML5Video.d.ts.map +1 -1
- package/lib/playback/HTML5Video.js +0 -18
- package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
- package/lib/playback/dash-playback/DashPlayback.js +0 -10
- package/lib/playback/hls-playback/HlsPlayback.d.ts +0 -1
- package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
- package/lib/playback/hls-playback/HlsPlayback.js +22 -20
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts +1 -1
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
- package/lib/plugins/big-mute-button/BigMuteButton.js +1 -3
- package/lib/plugins/bottom-gear/BottomGear.d.ts +2 -2
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +4 -8
- package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts +1 -1
- package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/NerdStats.js +3 -5
- package/lib/plugins/clappr-stats/ClapprStats.d.ts +3 -3
- package/lib/plugins/clappr-stats/ClapprStats.js +2 -2
- package/lib/plugins/clappr-stats/types.d.ts +5 -5
- package/lib/plugins/clappr-stats/types.js +3 -3
- package/lib/plugins/click-to-pause/ClickToPause.d.ts +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.d.ts.map +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.js +3 -7
- package/lib/plugins/clips/Clips.d.ts +2 -2
- package/lib/plugins/clips/Clips.d.ts.map +1 -1
- package/lib/plugins/clips/Clips.js +2 -6
- package/lib/plugins/cmcd-config/CmcdConfig.d.ts +2 -2
- package/lib/plugins/cmcd-config/CmcdConfig.js +1 -1
- package/lib/plugins/context-menu/ContextMenu.d.ts +1 -1
- package/lib/plugins/dvr-controls/DvrControls.d.ts +1 -1
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +3 -4
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +0 -3
- package/lib/plugins/favicon/Favicon.d.ts +2 -2
- package/lib/plugins/favicon/Favicon.js +1 -1
- package/lib/plugins/level-selector/QualityLevels.d.ts +2 -2
- package/lib/plugins/level-selector/QualityLevels.d.ts.map +1 -1
- package/lib/plugins/level-selector/QualityLevels.js +3 -11
- package/lib/plugins/media-control/MediaControl.d.ts +2 -5
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +4 -6
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +3 -3
- package/lib/plugins/picture-in-picture/PictureInPicture.js +3 -3
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +2 -2
- package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +0 -10
- package/lib/plugins/poster/Poster.d.ts +2 -2
- package/lib/plugins/poster/Poster.d.ts.map +1 -1
- package/lib/plugins/poster/Poster.js +3 -19
- package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
- package/lib/plugins/seek-time/SeekTime.js +1 -6
- package/lib/plugins/skip-time/SkipTime.d.ts +1 -1
- package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
- package/lib/plugins/skip-time/SkipTime.js +3 -15
- package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.js +0 -5
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +2 -18
- package/lib/plugins/subtitles/ClosedCaptions.d.ts +10 -2
- package/lib/plugins/subtitles/ClosedCaptions.d.ts.map +1 -1
- package/lib/plugins/subtitles/ClosedCaptions.js +12 -2
- package/lib/plugins/volume-fade/VolumeFade.d.ts +2 -2
- package/lib/plugins/volume-fade/VolumeFade.js +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/Player.ts +0 -30
- package/src/playback/HTML5Video.ts +0 -18
- package/src/playback/dash-playback/DashPlayback.ts +0 -11
- package/src/playback/hls-playback/HlsPlayback.ts +22 -29
- package/src/plugins/big-mute-button/BigMuteButton.ts +1 -4
- package/src/plugins/bottom-gear/BottomGear.ts +4 -8
- package/src/plugins/clappr-nerd-stats/NerdStats.ts +3 -5
- package/src/plugins/clappr-stats/ClapprStats.ts +3 -3
- package/src/plugins/clappr-stats/types.ts +5 -5
- package/src/plugins/click-to-pause/ClickToPause.ts +3 -8
- package/src/plugins/clips/Clips.ts +4 -7
- package/src/plugins/cmcd-config/CmcdConfig.ts +2 -2
- package/src/plugins/context-menu/ContextMenu.ts +1 -1
- package/src/plugins/dvr-controls/DvrControls.ts +3 -4
- package/src/plugins/error-screen/ErrorScreen.ts +0 -3
- package/src/plugins/favicon/Favicon.ts +2 -2
- package/src/plugins/level-selector/QualityLevels.ts +4 -12
- package/src/plugins/media-control/MediaControl.ts +4 -10
- package/src/plugins/picture-in-picture/PictureInPicture.ts +3 -3
- package/src/plugins/playback-rate/PlaybackRate.ts +2 -14
- package/src/plugins/poster/Poster.ts +4 -21
- package/src/plugins/seek-time/SeekTime.ts +2 -6
- package/src/plugins/skip-time/SkipTime.ts +3 -15
- package/src/plugins/source-controller/SourceController.ts +0 -5
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +2 -18
- package/src/plugins/subtitles/ClosedCaptions.ts +13 -3
- package/src/plugins/volume-fade/VolumeFade.ts +2 -2
- package/src/types.ts +1 -1
- package/temp/player.api.json +157 -152
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.mediacontrolpluginsettings.md +0 -13
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## CmcdConfigOptions.contentId property
|
|
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
7
|
`cid` value. If ommitted, the pathname part of the first source URL will be used
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## CmcdConfigOptions interface
|
|
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
7
|
Config options for the [CmcdConfig](./player.cmcdconfig.md) plugin
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -53,7 +50,7 @@ string
|
|
|
53
50
|
|
|
54
51
|
</td><td>
|
|
55
52
|
|
|
56
|
-
|
|
53
|
+
_(Optional)_ `cid` value. If ommitted, the pathname part of the first source URL will be used
|
|
57
54
|
|
|
58
55
|
|
|
59
56
|
</td></tr>
|
|
@@ -72,7 +69,7 @@ string
|
|
|
72
69
|
|
|
73
70
|
</td><td>
|
|
74
71
|
|
|
75
|
-
|
|
72
|
+
_(Optional)_ `sid` value. If ommitted, a random UUID will be generated
|
|
76
73
|
|
|
77
74
|
|
|
78
75
|
</td></tr>
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## CmcdConfigOptions.sessionId property
|
|
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
7
|
`sid` value. If ommitted, a random UUID will be generated
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## DvrControls 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
7
|
`PLUGIN` that adds the DVR controls to the media control UI
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## ExtendedEvents enum
|
|
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
7
|
Extended events for the [MediaControl](./player.mediacontrol.md) plugin
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -45,8 +42,6 @@ MEDIACONTROL\_MENU\_COLLAPSE
|
|
|
45
42
|
|
|
46
43
|
</td><td>
|
|
47
44
|
|
|
48
|
-
**_(BETA)_**
|
|
49
|
-
|
|
50
45
|
|
|
51
46
|
</td></tr>
|
|
52
47
|
<tr><td>
|
|
@@ -61,8 +56,6 @@ MEDIACONTROL\_VOLUME
|
|
|
61
56
|
|
|
62
57
|
</td><td>
|
|
63
58
|
|
|
64
|
-
**_(BETA)_**
|
|
65
|
-
|
|
66
59
|
|
|
67
60
|
</td></tr>
|
|
68
61
|
</tbody></table>
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## Favicon 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
7
|
`PLUGIN` that changes the favicon according to the player's state.
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## FaviconPluginSettings interface
|
|
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
7
|
|
|
11
8
|
**Signature:**
|
|
12
9
|
|
|
@@ -52,7 +49,7 @@ string
|
|
|
52
49
|
|
|
53
50
|
</td><td>
|
|
54
51
|
|
|
55
|
-
|
|
52
|
+
_(Optional)_ CSS color of the favicon.
|
|
56
53
|
|
|
57
54
|
|
|
58
55
|
</td></tr>
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## GearEvents enum
|
|
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
7
|
Events triggered by the plugin
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -45,7 +42,7 @@ RENDERED
|
|
|
45
42
|
|
|
46
43
|
</td><td>
|
|
47
44
|
|
|
48
|
-
|
|
45
|
+
Subscribe to this event to accurately attach an item to the gear menu
|
|
49
46
|
|
|
50
47
|
|
|
51
48
|
</td></tr>
|
package/docs/api/player.md
CHANGED
|
@@ -61,7 +61,7 @@ Description
|
|
|
61
61
|
|
|
62
62
|
</td><td>
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
`PLUGIN` that displays a big mute button over the video when it's being played muted.
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
</td></tr>
|
|
@@ -72,7 +72,7 @@ Description
|
|
|
72
72
|
|
|
73
73
|
</td><td>
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
`PLUGIN` that adds a button to extend the media controls UI with extra options.
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
</td></tr>
|
|
@@ -83,7 +83,7 @@ Description
|
|
|
83
83
|
|
|
84
84
|
</td><td>
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
`PLUGIN` that measures data about playback, which can be useful for analyzing performance and UX.
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
</td></tr>
|
|
@@ -94,7 +94,7 @@ Description
|
|
|
94
94
|
|
|
95
95
|
</td><td>
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
A small `PLUGIN` that toggles the playback state on click over the video container
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
</td></tr>
|
|
@@ -105,7 +105,7 @@ Description
|
|
|
105
105
|
|
|
106
106
|
</td><td>
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
`PLUGIN` that allows marking up the timeline of the video
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
</td></tr>
|
|
@@ -116,7 +116,7 @@ Description
|
|
|
116
116
|
|
|
117
117
|
</td><td>
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
`PLUGIN` that provides a UI to select the subtitles when available.
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
</td></tr>
|
|
@@ -127,7 +127,7 @@ Description
|
|
|
127
127
|
|
|
128
128
|
</td><td>
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
A `PLUGIN` that configures [CMCD](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf) for playback
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
</td></tr>
|
|
@@ -149,7 +149,7 @@ Description
|
|
|
149
149
|
|
|
150
150
|
</td><td>
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
`PLUGIN` that adds the DVR controls to the media control UI
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
</td></tr>
|
|
@@ -171,7 +171,7 @@ Description
|
|
|
171
171
|
|
|
172
172
|
</td><td>
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
`PLUGIN` that changes the favicon according to the player's state.
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
</td></tr>
|
|
@@ -226,7 +226,7 @@ Description
|
|
|
226
226
|
|
|
227
227
|
</td><td>
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
`PLUGIN` that displays useful statistics regarding the playback as well as the network quality estimation.
|
|
230
230
|
|
|
231
231
|
|
|
232
232
|
</td></tr>
|
|
@@ -237,7 +237,7 @@ Description
|
|
|
237
237
|
|
|
238
238
|
</td><td>
|
|
239
239
|
|
|
240
|
-
|
|
240
|
+
`PLUGIN` that enables picture-in-picture mode.
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
</td></tr>
|
|
@@ -270,7 +270,7 @@ Description
|
|
|
270
270
|
|
|
271
271
|
</td><td>
|
|
272
272
|
|
|
273
|
-
|
|
273
|
+
`PLUGIN` that displays a poster image in the background and a big play button on top when playback is stopped
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
</td></tr>
|
|
@@ -281,7 +281,7 @@ Description
|
|
|
281
281
|
|
|
282
282
|
</td><td>
|
|
283
283
|
|
|
284
|
-
|
|
284
|
+
`PLUGIN` that provides a UI to select the desired quality level of the playback.
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
</td></tr>
|
|
@@ -314,7 +314,7 @@ Description
|
|
|
314
314
|
|
|
315
315
|
</td><td>
|
|
316
316
|
|
|
317
|
-
|
|
317
|
+
`PLUGIN` that allows skipping time by tapping on the left or right side of the video.
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
</td></tr>
|
|
@@ -395,7 +395,6 @@ Description
|
|
|
395
395
|
|
|
396
396
|
</td><td>
|
|
397
397
|
|
|
398
|
-
**_(BETA)_**
|
|
399
398
|
|
|
400
399
|
|
|
401
400
|
</td></tr>
|
|
@@ -406,7 +405,6 @@ Description
|
|
|
406
405
|
|
|
407
406
|
</td><td>
|
|
408
407
|
|
|
409
|
-
**_(BETA)_**
|
|
410
408
|
|
|
411
409
|
|
|
412
410
|
</td></tr>
|
|
@@ -417,7 +415,6 @@ Description
|
|
|
417
415
|
|
|
418
416
|
</td><td>
|
|
419
417
|
|
|
420
|
-
**_(BETA)_**
|
|
421
418
|
|
|
422
419
|
|
|
423
420
|
</td></tr>
|
|
@@ -428,7 +425,7 @@ Description
|
|
|
428
425
|
|
|
429
426
|
</td><td>
|
|
430
427
|
|
|
431
|
-
|
|
428
|
+
Extended events for the [MediaControl](./player.mediacontrol.md) plugin
|
|
432
429
|
|
|
433
430
|
|
|
434
431
|
</td></tr>
|
|
@@ -439,7 +436,7 @@ Description
|
|
|
439
436
|
|
|
440
437
|
</td><td>
|
|
441
438
|
|
|
442
|
-
|
|
439
|
+
Events triggered by the plugin
|
|
443
440
|
|
|
444
441
|
|
|
445
442
|
</td></tr>
|
|
@@ -494,7 +491,7 @@ Custom events emitted by the plugin
|
|
|
494
491
|
|
|
495
492
|
</td><td>
|
|
496
493
|
|
|
497
|
-
|
|
494
|
+
Events emitted by the VolumeFade plugin.
|
|
498
495
|
|
|
499
496
|
|
|
500
497
|
</td></tr>
|
|
@@ -546,7 +543,7 @@ Description
|
|
|
546
543
|
|
|
547
544
|
</td><td>
|
|
548
545
|
|
|
549
|
-
|
|
546
|
+
Config options for the [ClapprStats](./player.clapprstats.md) plugin
|
|
550
547
|
|
|
551
548
|
|
|
552
549
|
</td></tr>
|
|
@@ -557,7 +554,7 @@ Description
|
|
|
557
554
|
|
|
558
555
|
</td><td>
|
|
559
556
|
|
|
560
|
-
|
|
557
|
+
Configuration options for the [Clips](./player.clips.md) plugin.
|
|
561
558
|
|
|
562
559
|
|
|
563
560
|
</td></tr>
|
|
@@ -568,7 +565,7 @@ Description
|
|
|
568
565
|
|
|
569
566
|
</td><td>
|
|
570
567
|
|
|
571
|
-
|
|
568
|
+
Config options for the [CmcdConfig](./player.cmcdconfig.md) plugin
|
|
572
569
|
|
|
573
570
|
|
|
574
571
|
</td></tr>
|
|
@@ -590,7 +587,6 @@ Description
|
|
|
590
587
|
|
|
591
588
|
</td><td>
|
|
592
589
|
|
|
593
|
-
**_(BETA)_**
|
|
594
590
|
|
|
595
591
|
|
|
596
592
|
</td></tr>
|
|
@@ -645,7 +641,7 @@ Describes a media source with its MIME type and URL.
|
|
|
645
641
|
|
|
646
642
|
</td><td>
|
|
647
643
|
|
|
648
|
-
|
|
644
|
+
Config options for the [Poster](./player.poster.md) plugin
|
|
649
645
|
|
|
650
646
|
|
|
651
647
|
</td></tr>
|
|
@@ -667,7 +663,7 @@ A level of quality within a media source/representation.
|
|
|
667
663
|
|
|
668
664
|
</td><td>
|
|
669
665
|
|
|
670
|
-
|
|
666
|
+
Configuration options for the [QualityLevels](./player.qualitylevels.md) plugin.
|
|
671
667
|
|
|
672
668
|
|
|
673
669
|
</td></tr>
|
|
@@ -748,7 +744,6 @@ Description
|
|
|
748
744
|
|
|
749
745
|
</td><td>
|
|
750
746
|
|
|
751
|
-
**_(BETA)_**
|
|
752
747
|
|
|
753
748
|
|
|
754
749
|
</td></tr>
|
|
@@ -759,7 +754,6 @@ Description
|
|
|
759
754
|
|
|
760
755
|
</td><td>
|
|
761
756
|
|
|
762
|
-
**_(BETA)_**
|
|
763
757
|
|
|
764
758
|
|
|
765
759
|
</td></tr>
|
|
@@ -770,7 +764,7 @@ Description
|
|
|
770
764
|
|
|
771
765
|
</td><td>
|
|
772
766
|
|
|
773
|
-
|
|
767
|
+
Configuration options for the [ClosedCaptions](./player.closedcaptions.md) plugin.
|
|
774
768
|
|
|
775
769
|
|
|
776
770
|
</td></tr>
|
|
@@ -872,15 +866,6 @@ An ISO 639-1 language code.
|
|
|
872
866
|
**_(BETA)_** Media control element. Each element's token in the media control layout settings determines where the element is rendered.
|
|
873
867
|
|
|
874
868
|
|
|
875
|
-
</td></tr>
|
|
876
|
-
<tr><td>
|
|
877
|
-
|
|
878
|
-
[MediaControlPluginSettings](./player.mediacontrolpluginsettings.md)
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
</td><td>
|
|
882
|
-
|
|
883
|
-
|
|
884
869
|
</td></tr>
|
|
885
870
|
<tr><td>
|
|
886
871
|
|
|
@@ -911,7 +896,6 @@ An ISO 639-1 language code.
|
|
|
911
896
|
|
|
912
897
|
</td><td>
|
|
913
898
|
|
|
914
|
-
**_(BETA)_**
|
|
915
899
|
|
|
916
900
|
|
|
917
901
|
</td></tr>
|
|
@@ -933,7 +917,6 @@ Module to perform the playback.
|
|
|
933
917
|
|
|
934
918
|
</td><td>
|
|
935
919
|
|
|
936
|
-
**_(BETA)_**
|
|
937
920
|
|
|
938
921
|
|
|
939
922
|
</td></tr>
|
|
@@ -944,7 +927,6 @@ Module to perform the playback.
|
|
|
944
927
|
|
|
945
928
|
</td><td>
|
|
946
929
|
|
|
947
|
-
**_(BETA)_**
|
|
948
930
|
|
|
949
931
|
|
|
950
932
|
</td></tr>
|
|
@@ -1179,7 +1161,6 @@ Preferred streaming media delivery protocol
|
|
|
1179
1161
|
|
|
1180
1162
|
</td><td>
|
|
1181
1163
|
|
|
1182
|
-
**_(BETA)_**
|
|
1183
1164
|
|
|
1184
1165
|
|
|
1185
1166
|
</td></tr>
|
|
@@ -1190,7 +1171,7 @@ Preferred streaming media delivery protocol
|
|
|
1190
1171
|
|
|
1191
1172
|
</td><td>
|
|
1192
1173
|
|
|
1193
|
-
|
|
1174
|
+
[Zepto query result](https://zeptojs.com/#$())
|
|
1194
1175
|
|
|
1195
1176
|
|
|
1196
1177
|
</td></tr>
|
|
@@ -16,7 +16,11 @@ static defaultSettings(): any;
|
|
|
16
16
|
|
|
17
17
|
any
|
|
18
18
|
|
|
19
|
-
Default media control layout settings
|
|
19
|
+
Default media control layout settings
|
|
20
|
+
|
|
21
|
+
## Remarks
|
|
22
|
+
|
|
23
|
+
The method can be used to change the default dashboard layout, for example, removing the standard UI elements
|
|
20
24
|
|
|
21
25
|
## Example
|
|
22
26
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@gcorevideo/player](./player.md) > [MediaControl](./player.mediacontrol.md) > [getAvailablePopupHeight](./player.mediacontrol.getavailablepopupheight.md)
|
|
4
|
+
|
|
5
|
+
## MediaControl.getAvailablePopupHeight() 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
|
+
getAvailablePopupHeight(): number;
|
|
14
|
+
```
|
|
15
|
+
**Returns:**
|
|
16
|
+
|
|
17
|
+
number
|
|
18
|
+
|
|
19
|
+
Vertical space available to render a popup menu
|
|
20
|
+
|
|
@@ -243,6 +243,20 @@ Description
|
|
|
243
243
|
**_(BETA)_**
|
|
244
244
|
|
|
245
245
|
|
|
246
|
+
</td></tr>
|
|
247
|
+
<tr><td>
|
|
248
|
+
|
|
249
|
+
[getAvailablePopupHeight()](./player.mediacontrol.getavailablepopupheight.md)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
</td><td>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
</td><td>
|
|
256
|
+
|
|
257
|
+
**_(BETA)_**
|
|
258
|
+
|
|
259
|
+
|
|
246
260
|
</td></tr>
|
|
247
261
|
<tr><td>
|
|
248
262
|
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## NerdStats.(constructor)
|
|
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
7
|
Constructs a new instance of the `NerdStats` class
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## NerdStats 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
7
|
`PLUGIN` that displays useful statistics regarding the playback as well as the network quality estimation.
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -56,7 +53,7 @@ Description
|
|
|
56
53
|
|
|
57
54
|
</td><td>
|
|
58
55
|
|
|
59
|
-
|
|
56
|
+
Constructs a new instance of the `NerdStats` class
|
|
60
57
|
|
|
61
58
|
|
|
62
59
|
</td></tr>
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## PictureInPicture class
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
`PLUGIN` that enables picture in picture mode.
|
|
7
|
+
`PLUGIN` that enables picture-in-picture mode.
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
13
10
|
|
|
@@ -22,7 +19,7 @@ Depends on:
|
|
|
22
19
|
|
|
23
20
|
- [MediaControl](./player.mediacontrol.md)
|
|
24
21
|
|
|
25
|
-
It renders a button to toggle picture
|
|
22
|
+
It renders a button to toggle picture-in-picture mode in the media control UI.
|
|
26
23
|
|
|
27
24
|
## Properties
|
|
28
25
|
|
|
@@ -64,8 +61,6 @@ Description
|
|
|
64
61
|
|
|
65
62
|
</td><td>
|
|
66
63
|
|
|
67
|
-
**_(BETA)_**
|
|
68
|
-
|
|
69
64
|
|
|
70
65
|
</td></tr>
|
|
71
66
|
</tbody></table>
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## Poster.disable() method
|
|
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
7
|
Disables the plugin, unmounting it from the DOM
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
## Poster 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
7
|
`PLUGIN` that displays a poster image in the background and a big play button on top when playback is stopped
|
|
11
8
|
|
|
12
9
|
**Signature:**
|
|
@@ -63,7 +60,7 @@ Description
|
|
|
63
60
|
|
|
64
61
|
</td><td>
|
|
65
62
|
|
|
66
|
-
|
|
63
|
+
Disables the plugin, unmounting it from the DOM
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
</td></tr>
|
|
@@ -77,7 +74,7 @@ Description
|
|
|
77
74
|
|
|
78
75
|
</td><td>
|
|
79
76
|
|
|
80
|
-
|
|
77
|
+
Reenables earlier disabled plugin
|
|
81
78
|
|
|
82
79
|
|
|
83
80
|
</td></tr>
|