@gcorevideo/player 2.20.1 → 2.20.4
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 +30 -6
- package/dist/index.css +1572 -1572
- package/dist/index.js +343 -226
- package/dist/player.d.ts +280 -52
- package/dist/plugins/index.css +619 -619
- package/dist/plugins/index.js +1468 -1351
- package/docs/api/player.audioselector.md +1 -251
- package/docs/api/player.bigmutebutton.md +1 -156
- package/docs/api/player.clapprstats.exportmetrics.md +4 -0
- package/docs/api/player.clapprstats.md +7 -223
- package/docs/api/player.clapprstats.setupdatemetrics.md +2 -0
- package/docs/api/player.clicktopause.md +5 -113
- package/docs/api/player.clipsplugin.gettext.md +9 -0
- package/docs/api/player.clipsplugin.md +10 -94
- package/docs/api/player.clipspluginsettings.md +57 -0
- package/docs/api/player.clipspluginsettings.text.md +13 -0
- package/docs/api/player.contextmenu._constructor_.md +6 -3
- package/docs/api/player.contextmenu.md +13 -256
- package/docs/api/{player.audioselector.bindevents.md → player.contextmenupluginsettings.label.md} +3 -7
- package/docs/api/player.contextmenupluginsettings.md +98 -0
- package/docs/api/{player.audioselector.attributes.md → player.contextmenupluginsettings.preventshowcontextmenu.md} +3 -6
- package/docs/api/{player.audioselector.reload.md → player.contextmenupluginsettings.url.md} +3 -7
- package/docs/api/player.dvrcontrols.md +1 -1
- package/docs/api/player.errorscreen.md +0 -2
- package/docs/api/player.favicon._constructor_.md +3 -0
- package/docs/api/player.favicon.bindevents.md +3 -0
- package/docs/api/player.favicon.configure.md +3 -0
- package/docs/api/player.favicon.destroy.md +3 -0
- package/docs/api/player.favicon.disable.md +3 -0
- package/docs/api/player.favicon.md +18 -1
- package/docs/api/player.favicon.name.md +3 -0
- package/docs/api/player.favicon.supportedversion.md +3 -0
- package/docs/api/player.gearevents.md +4 -1
- package/docs/api/player.googleanalytics._constructor_.md +3 -0
- package/docs/api/player.googleanalytics.addeventlisteners.md +3 -0
- package/docs/api/player.googleanalytics.embedscript.md +3 -0
- package/docs/api/player.googleanalytics.md +42 -1
- package/docs/api/player.googleanalytics.name.md +3 -0
- package/docs/api/player.googleanalytics.onbufferfull.md +3 -0
- package/docs/api/player.googleanalytics.onbuffering.md +3 -0
- package/docs/api/player.googleanalytics.ondvr.md +3 -0
- package/docs/api/player.googleanalytics.onended.md +3 -0
- package/docs/api/player.googleanalytics.onerror.md +3 -0
- package/docs/api/player.googleanalytics.onfullscreen.md +3 -0
- package/docs/api/player.googleanalytics.onhd.md +3 -0
- package/docs/api/player.googleanalytics.onpause.md +3 -0
- package/docs/api/player.googleanalytics.onplay.md +3 -0
- package/docs/api/player.googleanalytics.onready.md +3 -0
- package/docs/api/player.googleanalytics.onseek.md +3 -0
- package/docs/api/player.googleanalytics.onstop.md +3 -0
- package/docs/api/player.googleanalytics.onvolumechanged.md +3 -0
- package/docs/api/player.googleanalytics.push.md +3 -0
- package/docs/api/player.googleanalytics.supportedversion.md +3 -0
- package/docs/api/player.initeventdata.event.md +3 -0
- package/docs/api/player.initeventdata.md +7 -0
- package/docs/api/player.logo._constructor_.md +3 -0
- package/docs/api/player.logo.attributes.md +3 -0
- package/docs/api/player.logo.bindevents.md +3 -0
- package/docs/api/player.logo.md +20 -1
- package/docs/api/player.logo.name.md +3 -0
- package/docs/api/player.logo.render.md +3 -0
- package/docs/api/player.logo.stoplistening.md +3 -0
- package/docs/api/player.logo.supportedversion.md +3 -0
- package/docs/api/player.logo.template.md +3 -0
- package/docs/api/player.md +73 -21
- package/docs/api/player.mediacontrolelement.md +1 -1
- package/docs/api/player.multicamera._constructor_.md +3 -0
- package/docs/api/player.multicamera.activebyid.md +3 -0
- package/docs/api/player.multicamera.attributes.md +3 -0
- package/docs/api/player.multicamera.bindevents.md +3 -0
- package/docs/api/player.multicamera.events.md +3 -0
- package/docs/api/player.multicamera.getcameraslist.md +3 -0
- package/docs/api/player.multicamera.getcurrentcamera.md +3 -0
- package/docs/api/player.multicamera.md +30 -1
- package/docs/api/player.multicamera.name.md +3 -0
- package/docs/api/player.multicamera.render.md +3 -0
- package/docs/api/player.multicamera.supportedversion.md +3 -0
- package/docs/api/player.multicamera.template.md +3 -0
- package/docs/api/player.multicamera.unbindevents.md +3 -0
- package/docs/api/player.multicamera.version.md +3 -0
- package/docs/api/player.seektime.attributes.md +3 -0
- package/docs/api/player.seektime.bindevents.md +3 -0
- package/docs/api/player.seektime.durationshown.md +3 -0
- package/docs/api/player.seektime.getseektime.md +3 -0
- package/docs/api/player.seektime.islivestreamwithdvr.md +3 -0
- package/docs/api/player.seektime.md +31 -0
- package/docs/api/player.seektime.mediacontrol.md +3 -0
- package/docs/api/player.seektime.mediacontrolcontainer.md +3 -0
- package/docs/api/player.seektime.name.md +3 -0
- package/docs/api/player.seektime.render.md +3 -0
- package/docs/api/player.seektime.shouldbevisible.md +3 -0
- package/docs/api/player.seektime.supportedversion.md +3 -0
- package/docs/api/player.seektime.template.md +3 -0
- package/docs/api/player.seektime.update.md +3 -0
- package/docs/api/player.share.md +2 -0
- package/docs/api/player.skiptime.md +2 -0
- package/docs/api/player.stalleventdata.count.md +3 -0
- package/docs/api/player.stalleventdata.event.md +3 -0
- package/docs/api/player.stalleventdata.md +8 -3
- package/docs/api/player.stalleventdata.time.md +3 -0
- package/docs/api/player.stalleventdata.total_ms.md +3 -0
- package/docs/api/player.starteventdata.event.md +3 -0
- package/docs/api/player.starteventdata.md +7 -0
- package/docs/api/player.telemetryevent.md +11 -0
- package/docs/api/player.telemetryeventdata.md +3 -0
- package/docs/api/player.telemetrypluginsettings.md +4 -1
- package/docs/api/player.telemetrypluginsettings.send.md +3 -0
- package/docs/api/player.telemetryrecord.md +3 -0
- package/docs/api/player.thumbnails.md +21 -139
- package/docs/api/player.thumbnailspluginsettings.md +23 -0
- package/docs/api/player.volumefade.md +1 -0
- package/docs/api/player.volumefadeevents.md +7 -0
- package/docs/api/player.watcheventdata.event.md +3 -0
- package/docs/api/player.watcheventdata.md +7 -0
- package/docs/api/player.zeptoresult.md +1 -0
- package/lib/Player.d.ts +5 -3
- package/lib/Player.d.ts.map +1 -1
- package/lib/Player.js +30 -6
- 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/internal.types.d.ts +7 -7
- package/lib/internal.types.d.ts.map +1 -1
- package/lib/plugins/audio-selector/AudioSelector.d.ts +28 -6
- package/lib/plugins/audio-selector/AudioSelector.d.ts.map +1 -1
- package/lib/plugins/audio-selector/AudioSelector.js +52 -22
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts +18 -2
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
- package/lib/plugins/big-mute-button/BigMuteButton.js +21 -16
- package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -0
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +1 -0
- package/lib/plugins/clappr-stats/ClapprStats.d.ts +31 -8
- package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/ClapprStats.js +24 -0
- package/lib/plugins/clappr-stats/types.d.ts +12 -0
- package/lib/plugins/clappr-stats/types.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/types.js +3 -0
- package/lib/plugins/click-to-pause/ClickToPause.d.ts +13 -1
- package/lib/plugins/click-to-pause/ClickToPause.d.ts.map +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.js +14 -4
- package/lib/plugins/clips/Clips.d.ts +34 -2
- package/lib/plugins/clips/Clips.d.ts.map +1 -1
- package/lib/plugins/clips/Clips.js +51 -22
- package/lib/plugins/context-menu/ContextMenu.d.ts +44 -13
- package/lib/plugins/context-menu/ContextMenu.d.ts.map +1 -1
- package/lib/plugins/context-menu/ContextMenu.js +48 -36
- package/lib/plugins/dvr-controls/DvrControls.d.ts +1 -3
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +11 -28
- package/lib/plugins/error-screen/ErrorScreen.d.ts +0 -1
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +0 -1
- package/lib/plugins/favicon/Favicon.d.ts +4 -0
- package/lib/plugins/favicon/Favicon.d.ts.map +1 -1
- package/lib/plugins/favicon/Favicon.js +4 -0
- package/lib/plugins/google-analytics/GoogleAnalytics.d.ts +4 -0
- package/lib/plugins/google-analytics/GoogleAnalytics.d.ts.map +1 -1
- package/lib/plugins/google-analytics/GoogleAnalytics.js +5 -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/logo/Logo.d.ts +4 -0
- package/lib/plugins/logo/Logo.d.ts.map +1 -1
- package/lib/plugins/logo/Logo.js +4 -0
- package/lib/plugins/media-control/MediaControl.d.ts +1 -1
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +3 -1
- package/lib/plugins/multi-camera/MultiCamera.d.ts +4 -0
- package/lib/plugins/multi-camera/MultiCamera.d.ts.map +1 -1
- package/lib/plugins/multi-camera/MultiCamera.js +6 -2
- package/lib/plugins/seek-time/SeekTime.d.ts +4 -0
- package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
- package/lib/plugins/seek-time/SeekTime.js +6 -2
- package/lib/plugins/share/Share.d.ts +3 -0
- package/lib/plugins/share/Share.d.ts.map +1 -1
- package/lib/plugins/share/Share.js +4 -1
- package/lib/plugins/skip-time/SkipTime.d.ts +3 -0
- package/lib/plugins/skip-time/SkipTime.d.ts.map +1 -1
- package/lib/plugins/skip-time/SkipTime.js +3 -0
- package/lib/plugins/telemetry/Telemetry.d.ts +18 -0
- package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -1
- package/lib/plugins/telemetry/Telemetry.js +1 -0
- package/lib/plugins/thumbnails/Thumbnails.d.ts +48 -3
- package/lib/plugins/thumbnails/Thumbnails.d.ts.map +1 -1
- package/lib/plugins/thumbnails/Thumbnails.js +52 -18
- package/lib/plugins/volume-fade/VolumeFade.d.ts +5 -0
- package/lib/plugins/volume-fade/VolumeFade.d.ts.map +1 -1
- package/lib/plugins/volume-fade/VolumeFade.js +5 -0
- package/lib/types.d.ts +9 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/utils/types.d.ts +1 -0
- package/lib/utils/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/release_notes +297 -0
- package/src/Player.ts +101 -46
- package/src/__tests__/Player.test.ts +23 -1
- package/src/index.plugins.ts +0 -1
- package/src/internal.types.ts +86 -79
- package/src/plugins/audio-selector/AudioSelector.ts +227 -154
- package/src/plugins/big-mute-button/BigMuteButton.ts +100 -79
- package/src/plugins/bottom-gear/BottomGear.ts +1 -0
- package/src/plugins/clappr-stats/ClapprStats.ts +32 -8
- package/src/plugins/clappr-stats/types.ts +13 -0
- package/src/plugins/click-to-pause/ClickToPause.ts +47 -36
- package/src/plugins/clips/Clips.ts +127 -71
- package/src/plugins/context-menu/ContextMenu.ts +109 -76
- package/src/plugins/dvr-controls/DvrControls.ts +11 -30
- package/src/plugins/error-screen/ErrorScreen.ts +0 -1
- package/src/plugins/favicon/Favicon.ts +4 -0
- package/src/plugins/google-analytics/GoogleAnalytics.ts +5 -1
- package/src/plugins/index.ts +0 -1
- package/src/plugins/logo/Logo.ts +4 -0
- package/src/plugins/media-control/MediaControl.ts +4 -1
- package/src/plugins/multi-camera/MultiCamera.ts +6 -2
- package/src/plugins/seek-time/SeekTime.ts +6 -2
- package/src/plugins/share/Share.ts +4 -1
- package/src/plugins/skip-time/SkipTime.ts +3 -0
- package/src/plugins/telemetry/Telemetry.ts +18 -0
- package/src/plugins/thumbnails/Thumbnails.ts +268 -194
- package/src/plugins/volume-fade/VolumeFade.ts +5 -0
- package/src/types.ts +11 -1
- package/src/utils/types.ts +1 -0
- package/temp/player.api.json +627 -2468
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.audioselector.events.md +0 -17
- package/docs/api/player.audioselector.hideselecttrackmenu.md +0 -18
- package/docs/api/player.audioselector.name.md +0 -14
- package/docs/api/player.audioselector.onshowlevelselectmenu.md +0 -18
- package/docs/api/player.audioselector.render.md +0 -18
- package/docs/api/player.audioselector.supportedversion.md +0 -16
- package/docs/api/player.audioselector.template.md +0 -14
- package/docs/api/player.audioselector.togglecontextmenu.md +0 -18
- package/docs/api/player.audioselector.unbindevents.md +0 -18
- package/docs/api/player.audioselector.version.md +0 -14
- package/docs/api/player.bigmutebutton.bindevents.md +0 -18
- package/docs/api/player.bigmutebutton.events.md +0 -17
- package/docs/api/player.bigmutebutton.name.md +0 -14
- package/docs/api/player.bigmutebutton.render.md +0 -18
- package/docs/api/player.bigmutebutton.supportedversion.md +0 -16
- package/docs/api/player.bigmutebutton.template.md +0 -14
- package/docs/api/player.clapprstats._buildreport.md +0 -18
- package/docs/api/player.clapprstats._defaultreport.md +0 -52
- package/docs/api/player.clapprstats._playbackname.md +0 -14
- package/docs/api/player.clapprstats._playbacktype.md +0 -14
- package/docs/api/player.clapprstats.bindevents.md +0 -18
- package/docs/api/player.clapprstats.destroy.md +0 -18
- package/docs/api/player.clapprstats.name.md +0 -14
- package/docs/api/player.clapprstats.onfirstplaying.md +0 -18
- package/docs/api/player.clapprstats.playafterpause.md +0 -18
- package/docs/api/player.clapprstats.starttimers.md +0 -18
- package/docs/api/player.clapprstats.stopreporting.md +0 -18
- package/docs/api/player.clapprstats.supportedversion.md +0 -16
- package/docs/api/player.clicktopause.bindevents.md +0 -15
- package/docs/api/player.clicktopause.config.md +0 -11
- package/docs/api/player.clicktopause.name.md +0 -11
- package/docs/api/player.clicktopause.supportedversion.md +0 -13
- package/docs/api/player.clipsplugin.attributes.md +0 -13
- package/docs/api/player.clipsplugin.bindevents.md +0 -15
- package/docs/api/player.clipsplugin.makesvg.md +0 -49
- package/docs/api/player.clipsplugin.name.md +0 -11
- package/docs/api/player.clipsplugin.unbindevents.md +0 -15
- package/docs/api/player.contextmenu.attributes.md +0 -13
- package/docs/api/player.contextmenu.bindevents.md +0 -15
- package/docs/api/player.contextmenu.destroy.md +0 -15
- package/docs/api/player.contextmenu.events.md +0 -13
- package/docs/api/player.contextmenu.exposeversion.md +0 -14
- package/docs/api/player.contextmenu.label.md +0 -11
- package/docs/api/player.contextmenu.mediacontrol.md +0 -11
- package/docs/api/player.contextmenu.name.md +0 -11
- package/docs/api/player.contextmenu.render.md +0 -15
- package/docs/api/player.contextmenu.supportedversion.md +0 -13
- package/docs/api/player.contextmenu.template.md +0 -11
- package/docs/api/player.contextmenu.url.md +0 -11
- package/docs/api/player.disablecontrols.bindevents.md +0 -15
- package/docs/api/player.disablecontrols.container.md +0 -11
- package/docs/api/player.disablecontrols.md +0 -138
- package/docs/api/player.disablecontrols.name.md +0 -11
- package/docs/api/player.disablecontrols.supportedversion.md +0 -13
- package/docs/api/player.disablecontrols.unbindevents.md +0 -15
- package/docs/api/player.thumbnails.attributes.md +0 -13
- package/docs/api/player.thumbnails.bindevents.md +0 -15
- package/docs/api/player.thumbnails.name.md +0 -11
- package/docs/api/player.thumbnails.settext.md +0 -49
- package/docs/api/player.thumbnails.supportedversion.md +0 -13
- package/docs/api/player.thumbnails.template.md +0 -11
- package/src/plugins/disable-controls/DisableControls.ts +0 -81
- package/src/plugins/ga-events/GaEvents.js +0 -395
- package/src/plugins/ga-events/ga-tracking.js +0 -46
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## InitEventData 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
|
+
Telemetry init event data
|
|
11
|
+
|
|
7
12
|
**Signature:**
|
|
8
13
|
|
|
9
14
|
```typescript
|
|
@@ -48,6 +53,8 @@ Description
|
|
|
48
53
|
|
|
49
54
|
</td><td>
|
|
50
55
|
|
|
56
|
+
**_(BETA)_**
|
|
57
|
+
|
|
51
58
|
|
|
52
59
|
</td></tr>
|
|
53
60
|
</tbody></table>
|
package/docs/api/player.logo.md
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## Logo 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
|
+
The plugin adds custom logo to the player.
|
|
11
|
+
|
|
7
12
|
**Signature:**
|
|
8
13
|
|
|
9
14
|
```typescript
|
|
@@ -39,7 +44,7 @@ Description
|
|
|
39
44
|
|
|
40
45
|
</td><td>
|
|
41
46
|
|
|
42
|
-
Constructs a new instance of the `Logo` class
|
|
47
|
+
**_(BETA)_** Constructs a new instance of the `Logo` class
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
</td></tr>
|
|
@@ -85,6 +90,8 @@ Description
|
|
|
85
90
|
|
|
86
91
|
</td><td>
|
|
87
92
|
|
|
93
|
+
**_(BETA)_**
|
|
94
|
+
|
|
88
95
|
|
|
89
96
|
</td></tr>
|
|
90
97
|
<tr><td>
|
|
@@ -104,6 +111,8 @@ string
|
|
|
104
111
|
|
|
105
112
|
</td><td>
|
|
106
113
|
|
|
114
|
+
**_(BETA)_**
|
|
115
|
+
|
|
107
116
|
|
|
108
117
|
</td></tr>
|
|
109
118
|
<tr><td>
|
|
@@ -123,6 +132,8 @@ string
|
|
|
123
132
|
|
|
124
133
|
</td><td>
|
|
125
134
|
|
|
135
|
+
**_(BETA)_**
|
|
136
|
+
|
|
126
137
|
|
|
127
138
|
</td></tr>
|
|
128
139
|
<tr><td>
|
|
@@ -142,6 +153,8 @@ any
|
|
|
142
153
|
|
|
143
154
|
</td><td>
|
|
144
155
|
|
|
156
|
+
**_(BETA)_**
|
|
157
|
+
|
|
145
158
|
|
|
146
159
|
</td></tr>
|
|
147
160
|
</tbody></table>
|
|
@@ -174,6 +187,8 @@ Description
|
|
|
174
187
|
|
|
175
188
|
</td><td>
|
|
176
189
|
|
|
190
|
+
**_(BETA)_**
|
|
191
|
+
|
|
177
192
|
|
|
178
193
|
</td></tr>
|
|
179
194
|
<tr><td>
|
|
@@ -186,6 +201,8 @@ Description
|
|
|
186
201
|
|
|
187
202
|
</td><td>
|
|
188
203
|
|
|
204
|
+
**_(BETA)_**
|
|
205
|
+
|
|
189
206
|
|
|
190
207
|
</td></tr>
|
|
191
208
|
<tr><td>
|
|
@@ -198,6 +215,8 @@ Description
|
|
|
198
215
|
|
|
199
216
|
</td><td>
|
|
200
217
|
|
|
218
|
+
**_(BETA)_**
|
|
219
|
+
|
|
201
220
|
|
|
202
221
|
</td></tr>
|
|
203
222
|
</tbody></table>
|
package/docs/api/player.md
CHANGED
|
@@ -30,7 +30,7 @@ Description
|
|
|
30
30
|
|
|
31
31
|
</td><td>
|
|
32
32
|
|
|
33
|
-
**_(BETA)_**
|
|
33
|
+
**_(BETA)_** Adds an audio track selector to the media control UI.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
</td></tr>
|
|
@@ -41,7 +41,7 @@ Description
|
|
|
41
41
|
|
|
42
42
|
</td><td>
|
|
43
43
|
|
|
44
|
-
**_(BETA)_**
|
|
44
|
+
**_(BETA)_** Displays a big mute button over the video when it's muted. Once pressed, it unmutes the video.
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
</td></tr>
|
|
@@ -74,7 +74,7 @@ Description
|
|
|
74
74
|
|
|
75
75
|
</td><td>
|
|
76
76
|
|
|
77
|
-
**_(BETA)_**
|
|
77
|
+
**_(BETA)_** Collects useful statistics about playback performance.
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
</td></tr>
|
|
@@ -85,6 +85,8 @@ Description
|
|
|
85
85
|
|
|
86
86
|
</td><td>
|
|
87
87
|
|
|
88
|
+
**_(BETA)_** Adds a behavior of toggling the playback state on click over the container
|
|
89
|
+
|
|
88
90
|
|
|
89
91
|
</td></tr>
|
|
90
92
|
<tr><td>
|
|
@@ -94,6 +96,8 @@ Description
|
|
|
94
96
|
|
|
95
97
|
</td><td>
|
|
96
98
|
|
|
99
|
+
**_(BETA)_** Adds a behavior of showing a text over the seekbar to indicate the current clip.
|
|
100
|
+
|
|
97
101
|
|
|
98
102
|
</td></tr>
|
|
99
103
|
<tr><td>
|
|
@@ -103,14 +107,7 @@ Description
|
|
|
103
107
|
|
|
104
108
|
</td><td>
|
|
105
109
|
|
|
106
|
-
|
|
107
|
-
</td></tr>
|
|
108
|
-
<tr><td>
|
|
109
|
-
|
|
110
|
-
[DisableControls](./player.disablecontrols.md)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td><td>
|
|
110
|
+
**_(BETA)_** Displays a small context menu when clicked on the player container.
|
|
114
111
|
|
|
115
112
|
|
|
116
113
|
</td></tr>
|
|
@@ -134,8 +131,6 @@ Description
|
|
|
134
131
|
|
|
135
132
|
**_(BETA)_** Displays a descriptive error in the overlay on top of the player.
|
|
136
133
|
|
|
137
|
-
TODO
|
|
138
|
-
|
|
139
134
|
|
|
140
135
|
</td></tr>
|
|
141
136
|
<tr><td>
|
|
@@ -145,6 +140,8 @@ TODO
|
|
|
145
140
|
|
|
146
141
|
</td><td>
|
|
147
142
|
|
|
143
|
+
**_(BETA)_** The plugin adds custom favicon to the player's tab.
|
|
144
|
+
|
|
148
145
|
|
|
149
146
|
</td></tr>
|
|
150
147
|
<tr><td>
|
|
@@ -154,6 +151,8 @@ TODO
|
|
|
154
151
|
|
|
155
152
|
</td><td>
|
|
156
153
|
|
|
154
|
+
**_(BETA)_** An example Google Analytics integration plugin
|
|
155
|
+
|
|
157
156
|
|
|
158
157
|
</td></tr>
|
|
159
158
|
<tr><td>
|
|
@@ -174,6 +173,8 @@ TODO
|
|
|
174
173
|
|
|
175
174
|
</td><td>
|
|
176
175
|
|
|
176
|
+
**_(BETA)_** The plugin adds custom logo to the player.
|
|
177
|
+
|
|
177
178
|
|
|
178
179
|
</td></tr>
|
|
179
180
|
<tr><td>
|
|
@@ -194,6 +195,8 @@ TODO
|
|
|
194
195
|
|
|
195
196
|
</td><td>
|
|
196
197
|
|
|
198
|
+
**_(BETA)_** The plugin adds support for loading multiple streams and switching between them using the media control UI.
|
|
199
|
+
|
|
197
200
|
|
|
198
201
|
</td></tr>
|
|
199
202
|
<tr><td>
|
|
@@ -247,6 +250,8 @@ TODO
|
|
|
247
250
|
|
|
248
251
|
</td><td>
|
|
249
252
|
|
|
253
|
+
**_(BETA)_** The plugin adds a seek time indicator to the media control UI.
|
|
254
|
+
|
|
250
255
|
|
|
251
256
|
</td></tr>
|
|
252
257
|
<tr><td>
|
|
@@ -256,6 +261,8 @@ TODO
|
|
|
256
261
|
|
|
257
262
|
</td><td>
|
|
258
263
|
|
|
264
|
+
The plugin adds a share button to the media control UI.
|
|
265
|
+
|
|
259
266
|
|
|
260
267
|
</td></tr>
|
|
261
268
|
<tr><td>
|
|
@@ -265,6 +272,8 @@ TODO
|
|
|
265
272
|
|
|
266
273
|
</td><td>
|
|
267
274
|
|
|
275
|
+
The plugin adds skip controls to the media control UI.
|
|
276
|
+
|
|
268
277
|
|
|
269
278
|
</td></tr>
|
|
270
279
|
<tr><td>
|
|
@@ -318,6 +327,8 @@ TODO
|
|
|
318
327
|
|
|
319
328
|
</td><td>
|
|
320
329
|
|
|
330
|
+
**_(BETA)_** Displays the thumbnails of the video when available.
|
|
331
|
+
|
|
321
332
|
|
|
322
333
|
</td></tr>
|
|
323
334
|
<tr><td>
|
|
@@ -327,7 +338,7 @@ TODO
|
|
|
327
338
|
|
|
328
339
|
</td><td>
|
|
329
340
|
|
|
330
|
-
**_(BETA)_**
|
|
341
|
+
**_(BETA)_** Applies fade effect to the player's volume change.
|
|
331
342
|
|
|
332
343
|
|
|
333
344
|
</td></tr>
|
|
@@ -353,7 +364,7 @@ Description
|
|
|
353
364
|
|
|
354
365
|
</td><td>
|
|
355
366
|
|
|
356
|
-
Custom events emitted by the plugin
|
|
367
|
+
**_(BETA)_** Custom events emitted by the plugin
|
|
357
368
|
|
|
358
369
|
|
|
359
370
|
</td></tr>
|
|
@@ -397,7 +408,7 @@ Custom events emitted by the plugin
|
|
|
397
408
|
|
|
398
409
|
</td><td>
|
|
399
410
|
|
|
400
|
-
Telemetry event type
|
|
411
|
+
**_(BETA)_** Telemetry event type
|
|
401
412
|
|
|
402
413
|
|
|
403
414
|
</td></tr>
|
|
@@ -408,6 +419,8 @@ Telemetry event type
|
|
|
408
419
|
|
|
409
420
|
</td><td>
|
|
410
421
|
|
|
422
|
+
**_(BETA)_** Events emitted by the VolumeFade plugin.
|
|
423
|
+
|
|
411
424
|
|
|
412
425
|
</td></tr>
|
|
413
426
|
</tbody></table>
|
|
@@ -453,11 +466,35 @@ Description
|
|
|
453
466
|
</th></tr></thead>
|
|
454
467
|
<tbody><tr><td>
|
|
455
468
|
|
|
469
|
+
[ClipsPluginSettings](./player.clipspluginsettings.md)
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
</td><td>
|
|
473
|
+
|
|
474
|
+
Configuration options
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
</td></tr>
|
|
478
|
+
<tr><td>
|
|
479
|
+
|
|
480
|
+
[ContextMenuPluginSettings](./player.contextmenupluginsettings.md)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
</td><td>
|
|
484
|
+
|
|
485
|
+
**_(BETA)_** The plugin adds a context menu to the player.
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
</td></tr>
|
|
489
|
+
<tr><td>
|
|
490
|
+
|
|
456
491
|
[InitEventData](./player.initeventdata.md)
|
|
457
492
|
|
|
458
493
|
|
|
459
494
|
</td><td>
|
|
460
495
|
|
|
496
|
+
**_(BETA)_** Telemetry init event data
|
|
497
|
+
|
|
461
498
|
|
|
462
499
|
</td></tr>
|
|
463
500
|
<tr><td>
|
|
@@ -511,7 +548,7 @@ Description
|
|
|
511
548
|
|
|
512
549
|
</td><td>
|
|
513
550
|
|
|
514
|
-
Playback stall event data
|
|
551
|
+
**_(BETA)_** Playback stall event data
|
|
515
552
|
|
|
516
553
|
|
|
517
554
|
</td></tr>
|
|
@@ -522,6 +559,8 @@ Playback stall event data
|
|
|
522
559
|
|
|
523
560
|
</td><td>
|
|
524
561
|
|
|
562
|
+
**_(BETA)_** Telemetry start event data
|
|
563
|
+
|
|
525
564
|
|
|
526
565
|
</td></tr>
|
|
527
566
|
<tr><td>
|
|
@@ -531,7 +570,7 @@ Playback stall event data
|
|
|
531
570
|
|
|
532
571
|
</td><td>
|
|
533
572
|
|
|
534
|
-
Plugin settings
|
|
573
|
+
**_(BETA)_** Plugin settings
|
|
535
574
|
|
|
536
575
|
|
|
537
576
|
</td></tr>
|
|
@@ -553,6 +592,8 @@ Plugin settings
|
|
|
553
592
|
|
|
554
593
|
</td><td>
|
|
555
594
|
|
|
595
|
+
**_(BETA)_** Telemetry watch event data
|
|
596
|
+
|
|
556
597
|
|
|
557
598
|
</td></tr>
|
|
558
599
|
</tbody></table>
|
|
@@ -755,7 +796,7 @@ Description
|
|
|
755
796
|
|
|
756
797
|
</td><td>
|
|
757
798
|
|
|
758
|
-
Telemetry event data
|
|
799
|
+
**_(BETA)_** Telemetry event data
|
|
759
800
|
|
|
760
801
|
|
|
761
802
|
</td></tr>
|
|
@@ -766,7 +807,18 @@ Telemetry event data
|
|
|
766
807
|
|
|
767
808
|
</td><td>
|
|
768
809
|
|
|
769
|
-
Telemetry record
|
|
810
|
+
**_(BETA)_** Telemetry record
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
</td></tr>
|
|
814
|
+
<tr><td>
|
|
815
|
+
|
|
816
|
+
[ThumbnailsPluginSettings](./player.thumbnailspluginsettings.md)
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
</td><td>
|
|
820
|
+
|
|
821
|
+
**_(BETA)_** Plugin configuration options for the thumbnails plugin.
|
|
770
822
|
|
|
771
823
|
|
|
772
824
|
</td></tr>
|
|
@@ -843,7 +895,7 @@ Telemetry record
|
|
|
843
895
|
|
|
844
896
|
</td><td>
|
|
845
897
|
|
|
846
|
-
**_(BETA)_**
|
|
898
|
+
**_(BETA)_** [Zepto query result](https://zeptojs.com/#$())
|
|
847
899
|
|
|
848
900
|
|
|
849
901
|
</td></tr>
|
|
@@ -12,5 +12,5 @@ Media control elements, mount points for additional plugins
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
export type MediaControlElement = 'bottomGear' | 'clipText' | 'gear' | 'pip' | 'playbackRate' | 'seekBarContainer' | 'subtitlesSelector';
|
|
15
|
+
export type MediaControlElement = 'audioTracksSelector' | 'bottomGear' | 'clipText' | 'gear' | 'pip' | 'playbackRate' | 'seekBarContainer' | 'subtitlesSelector';
|
|
16
16
|
```
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
## MultiCamera.(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
|
+
|
|
7
10
|
Constructs a new instance of the `MultiCamera` class
|
|
8
11
|
|
|
9
12
|
**Signature:**
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## MultiCamera 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
|
+
The plugin adds support for loading multiple streams and switching between them using the media control UI.
|
|
11
|
+
|
|
7
12
|
**Signature:**
|
|
8
13
|
|
|
9
14
|
```typescript
|
|
@@ -39,7 +44,7 @@ Description
|
|
|
39
44
|
|
|
40
45
|
</td><td>
|
|
41
46
|
|
|
42
|
-
Constructs a new instance of the `MultiCamera` class
|
|
47
|
+
**_(BETA)_** Constructs a new instance of the `MultiCamera` class
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
</td></tr>
|
|
@@ -85,6 +90,8 @@ Description
|
|
|
85
90
|
|
|
86
91
|
</td><td>
|
|
87
92
|
|
|
93
|
+
**_(BETA)_**
|
|
94
|
+
|
|
88
95
|
|
|
89
96
|
</td></tr>
|
|
90
97
|
<tr><td>
|
|
@@ -104,6 +111,8 @@ Description
|
|
|
104
111
|
|
|
105
112
|
</td><td>
|
|
106
113
|
|
|
114
|
+
**_(BETA)_**
|
|
115
|
+
|
|
107
116
|
|
|
108
117
|
</td></tr>
|
|
109
118
|
<tr><td>
|
|
@@ -123,6 +132,8 @@ string
|
|
|
123
132
|
|
|
124
133
|
</td><td>
|
|
125
134
|
|
|
135
|
+
**_(BETA)_**
|
|
136
|
+
|
|
126
137
|
|
|
127
138
|
</td></tr>
|
|
128
139
|
<tr><td>
|
|
@@ -142,6 +153,8 @@ string
|
|
|
142
153
|
|
|
143
154
|
</td><td>
|
|
144
155
|
|
|
156
|
+
**_(BETA)_**
|
|
157
|
+
|
|
145
158
|
|
|
146
159
|
</td></tr>
|
|
147
160
|
<tr><td>
|
|
@@ -161,6 +174,8 @@ any
|
|
|
161
174
|
|
|
162
175
|
</td><td>
|
|
163
176
|
|
|
177
|
+
**_(BETA)_**
|
|
178
|
+
|
|
164
179
|
|
|
165
180
|
</td></tr>
|
|
166
181
|
<tr><td>
|
|
@@ -182,6 +197,8 @@ string
|
|
|
182
197
|
|
|
183
198
|
</td><td>
|
|
184
199
|
|
|
200
|
+
**_(BETA)_**
|
|
201
|
+
|
|
185
202
|
|
|
186
203
|
</td></tr>
|
|
187
204
|
</tbody></table>
|
|
@@ -214,6 +231,8 @@ Description
|
|
|
214
231
|
|
|
215
232
|
</td><td>
|
|
216
233
|
|
|
234
|
+
**_(BETA)_**
|
|
235
|
+
|
|
217
236
|
|
|
218
237
|
</td></tr>
|
|
219
238
|
<tr><td>
|
|
@@ -226,6 +245,8 @@ Description
|
|
|
226
245
|
|
|
227
246
|
</td><td>
|
|
228
247
|
|
|
248
|
+
**_(BETA)_**
|
|
249
|
+
|
|
229
250
|
|
|
230
251
|
</td></tr>
|
|
231
252
|
<tr><td>
|
|
@@ -238,6 +259,8 @@ Description
|
|
|
238
259
|
|
|
239
260
|
</td><td>
|
|
240
261
|
|
|
262
|
+
**_(BETA)_**
|
|
263
|
+
|
|
241
264
|
|
|
242
265
|
</td></tr>
|
|
243
266
|
<tr><td>
|
|
@@ -250,6 +273,8 @@ Description
|
|
|
250
273
|
|
|
251
274
|
</td><td>
|
|
252
275
|
|
|
276
|
+
**_(BETA)_**
|
|
277
|
+
|
|
253
278
|
|
|
254
279
|
</td></tr>
|
|
255
280
|
<tr><td>
|
|
@@ -262,6 +287,8 @@ Description
|
|
|
262
287
|
|
|
263
288
|
</td><td>
|
|
264
289
|
|
|
290
|
+
**_(BETA)_**
|
|
291
|
+
|
|
265
292
|
|
|
266
293
|
</td></tr>
|
|
267
294
|
<tr><td>
|
|
@@ -274,6 +301,8 @@ Description
|
|
|
274
301
|
|
|
275
302
|
</td><td>
|
|
276
303
|
|
|
304
|
+
**_(BETA)_**
|
|
305
|
+
|
|
277
306
|
|
|
278
307
|
</td></tr>
|
|
279
308
|
</tbody></table>
|