@gcorevideo/player 2.20.9 → 2.20.12
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/dvr-controls/dvr_controls.scss +0 -2
- package/dist/core.js +5 -5
- package/dist/index.css +1521 -1524
- package/dist/index.js +101 -106
- package/dist/player.d.ts +141 -100
- package/dist/plugins/index.css +1376 -1379
- package/dist/plugins/index.js +96 -102
- package/docs/api/player.audioselector.md +1 -1
- package/docs/api/player.bigmutebutton.md +1 -1
- package/docs/api/player.bottomgear.md +1 -1
- package/docs/api/player.clapprnerdstats.md +1 -1
- package/docs/api/player.clapprstats.md +1 -1
- package/docs/api/player.clicktopause.md +1 -1
- package/docs/api/player.clipsplugin.md +1 -1
- package/docs/api/player.containerpluginconstructor.md +3 -5
- package/docs/api/player.containersize.md +0 -3
- package/docs/api/player.contextmenu.md +1 -1
- package/docs/api/player.contextmenupluginsettings.md +1 -1
- package/docs/api/player.corepluginconstructor.md +3 -5
- package/docs/api/player.dashsettings.md +0 -3
- package/docs/api/player.dvrcontrols.md +2 -35
- package/docs/api/player.errorlevel.md +0 -3
- package/docs/api/player.errorscreen.md +1 -1
- package/docs/api/player.favicon.md +4 -174
- package/docs/api/{player.favicon.disable.md → player.faviconpluginsettings.faviconcolor.md} +5 -7
- package/docs/api/{player.dvrcontrols._constructor_.md → player.faviconpluginsettings.md} +17 -8
- package/docs/api/player.googleanalytics.md +1 -1
- package/docs/api/player.langtag.md +0 -3
- package/docs/api/player.levelselector.md +1 -1
- package/docs/api/player.logo.md +1 -1
- package/docs/api/player.md +82 -82
- package/docs/api/{player.favicon.configure.md → player.mediacontrol.getcenterpanel.md} +4 -4
- package/docs/api/{player.favicon.destroy.md → player.mediacontrol.getleftpanel.md} +8 -4
- package/docs/api/player.mediacontrol.md +30 -2
- package/docs/api/player.multicamera.md +1 -1
- package/docs/api/player.pictureinpicture.md +1 -1
- package/docs/api/player.playbackerror.code.md +0 -3
- package/docs/api/player.playbackerror.description.md +0 -3
- package/docs/api/player.playbackerror.level.md +0 -3
- package/docs/api/player.playbackerror.md +8 -11
- package/docs/api/player.playbackerror.message.md +0 -3
- package/docs/api/player.playbackerror.origin.md +0 -3
- package/docs/api/player.playbackerror.scope.md +0 -3
- package/docs/api/player.playbackerror.ui.md +1 -3
- package/docs/api/player.playbackerrorcode.md +3 -6
- package/docs/api/player.playbackmodule.md +0 -3
- package/docs/api/player.playbackrate.md +1 -1
- package/docs/api/player.playbacktype.md +1 -4
- package/docs/api/player.player._constructor_.md +0 -3
- package/docs/api/player.player.attachto.md +0 -3
- package/docs/api/player.player.configure.md +0 -3
- package/docs/api/player.player.destroy.md +0 -3
- package/docs/api/player.player.getcurrenttime.md +0 -3
- package/docs/api/player.player.getduration.md +0 -3
- package/docs/api/player.player.getvolume.md +0 -3
- package/docs/api/player.player.isdvrenabled.md +0 -3
- package/docs/api/player.player.isdvrinuse.md +0 -3
- package/docs/api/player.player.ismuted.md +0 -3
- package/docs/api/player.player.isplaying.md +0 -3
- package/docs/api/player.player.md +25 -28
- package/docs/api/player.player.mute.md +0 -3
- package/docs/api/player.player.off.md +0 -3
- package/docs/api/player.player.on.md +0 -3
- package/docs/api/player.player.pause.md +0 -3
- package/docs/api/player.player.play.md +0 -3
- package/docs/api/player.player.registerplugin.md +0 -3
- package/docs/api/player.player.resize.md +0 -3
- package/docs/api/player.player.seek.md +0 -3
- package/docs/api/player.player.setvolume.md +0 -3
- package/docs/api/player.player.stop.md +0 -3
- package/docs/api/player.player.unmute.md +0 -3
- package/docs/api/player.player.unregisterplugin.md +14 -7
- package/docs/api/player.playercomponenttype.md +0 -3
- package/docs/api/player.playerconfig.autoplay.md +0 -3
- package/docs/api/player.playerconfig.dash.md +0 -3
- package/docs/api/player.playerconfig.debug.md +0 -3
- package/docs/api/player.playerconfig.language.md +0 -3
- package/docs/api/player.playerconfig.loop.md +0 -3
- package/docs/api/player.playerconfig.md +10 -13
- package/docs/api/player.playerconfig.mute.md +0 -3
- package/docs/api/player.playerconfig.playbacktype.md +0 -3
- package/docs/api/player.playerconfig.prioritytransport.md +0 -3
- package/docs/api/player.playerconfig.sources.md +0 -3
- package/docs/api/player.playerconfig.strings.md +0 -3
- package/docs/api/player.playerdebugsettings.md +0 -3
- package/docs/api/player.playerdebugtag.md +0 -3
- package/docs/api/player.playerevent.md +11 -14
- package/docs/api/player.playereventhandler.md +0 -3
- package/docs/api/player.playereventparams.md +0 -3
- package/docs/api/player.playermediasource.md +0 -3
- package/docs/api/player.playermediasourcedesc.md +2 -5
- package/docs/api/player.playermediasourcedesc.mimetype.md +0 -3
- package/docs/api/player.playermediasourcedesc.source.md +0 -3
- package/docs/api/player.playerplugin.md +0 -4
- package/docs/api/player.playerpluginconstructor.md +0 -3
- package/docs/api/player.poster.md +1 -1
- package/docs/api/player.qualitylevel.bitrate.md +0 -3
- package/docs/api/player.qualitylevel.height.md +0 -3
- package/docs/api/player.qualitylevel.level.md +0 -3
- package/docs/api/player.qualitylevel.md +4 -7
- package/docs/api/player.qualitylevel.width.md +0 -3
- package/docs/api/player.seektime.md +1 -1
- package/docs/api/player.share.md +1 -1
- package/docs/api/player.skiptime.md +1 -1
- package/docs/api/player.sourcecontroller.md +1 -1
- package/docs/api/player.spinnerthreebounce.md +1 -1
- package/docs/api/player.subtitles.md +1 -1
- package/docs/api/player.telemetry.md +1 -1
- package/docs/api/player.thumbnails.md +1 -1
- package/docs/api/player.timeposition.current.md +0 -3
- package/docs/api/player.timeposition.md +2 -5
- package/docs/api/player.timeposition.total.md +0 -3
- package/docs/api/player.timevalue.md +0 -3
- package/docs/api/player.translationkey.md +0 -3
- package/docs/api/player.translationsettings.md +0 -3
- package/docs/api/player.transportpreference.md +2 -7
- package/docs/api/player.volumefade.md +1 -1
- package/lib/Player.d.ts +5 -5
- package/lib/Player.js +2 -2
- package/lib/index.d.ts +18 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -1
- package/lib/playback.types.d.ts +8 -7
- package/lib/playback.types.d.ts.map +1 -1
- package/lib/playback.types.js +1 -1
- package/lib/plugins/audio-selector/AudioSelector.d.ts +1 -1
- package/lib/plugins/audio-selector/AudioSelector.js +1 -1
- 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 -2
- package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +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-stats/ClapprStats.d.ts +1 -1
- package/lib/plugins/clappr-stats/ClapprStats.js +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.d.ts +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.js +1 -1
- package/lib/plugins/clips/Clips.d.ts +1 -1
- package/lib/plugins/clips/Clips.js +1 -1
- package/lib/plugins/context-menu/ContextMenu.d.ts +2 -2
- package/lib/plugins/context-menu/ContextMenu.js +1 -1
- package/lib/plugins/dvr-controls/DvrControls.d.ts +6 -4
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +28 -36
- package/lib/plugins/error-screen/ErrorScreen.d.ts +1 -18
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +1 -2
- package/lib/plugins/favicon/Favicon.d.ts +30 -3
- package/lib/plugins/favicon/Favicon.d.ts.map +1 -1
- package/lib/plugins/favicon/Favicon.js +28 -35
- package/lib/plugins/google-analytics/GoogleAnalytics.d.ts +1 -1
- package/lib/plugins/google-analytics/GoogleAnalytics.js +1 -1
- package/lib/plugins/level-selector/LevelSelector.d.ts +1 -1
- package/lib/plugins/level-selector/LevelSelector.js +1 -1
- package/lib/plugins/logo/Logo.d.ts +1 -1
- package/lib/plugins/logo/Logo.js +1 -1
- package/lib/plugins/media-control/MediaControl.d.ts +8 -2
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +15 -3
- package/lib/plugins/multi-camera/MultiCamera.d.ts +1 -1
- package/lib/plugins/multi-camera/MultiCamera.js +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.js +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +1 -1
- package/lib/plugins/poster/Poster.d.ts +1 -1
- package/lib/plugins/poster/Poster.js +1 -1
- package/lib/plugins/seek-time/SeekTime.d.ts +1 -1
- package/lib/plugins/seek-time/SeekTime.js +1 -1
- package/lib/plugins/share/Share.d.ts +1 -1
- package/lib/plugins/share/Share.js +1 -1
- package/lib/plugins/skip-time/SkipTime.d.ts +1 -1
- package/lib/plugins/skip-time/SkipTime.js +1 -1
- package/lib/plugins/source-controller/SourceController.d.ts +1 -1
- package/lib/plugins/source-controller/SourceController.js +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +1 -1
- package/lib/plugins/subtitles/Subtitles.d.ts +1 -1
- package/lib/plugins/subtitles/Subtitles.js +1 -1
- package/lib/plugins/telemetry/Telemetry.d.ts +1 -1
- package/lib/plugins/telemetry/Telemetry.js +1 -1
- package/lib/plugins/thumbnails/Thumbnails.d.ts +1 -1
- package/lib/plugins/thumbnails/Thumbnails.js +1 -1
- package/lib/plugins/volume-fade/VolumeFade.d.ts +1 -1
- package/lib/plugins/volume-fade/VolumeFade.js +1 -1
- package/lib/testUtils.d.ts +11 -2
- package/lib/testUtils.d.ts.map +1 -1
- package/lib/testUtils.js +22 -3
- package/lib/types.d.ts +20 -25
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +1 -1
- package/package.json +1 -1
- package/src/Player.ts +5 -5
- package/src/index.ts +18 -1
- package/src/playback.types.ts +8 -7
- package/src/plugins/audio-selector/AudioSelector.ts +1 -1
- package/src/plugins/big-mute-button/BigMuteButton.ts +1 -2
- package/src/plugins/bottom-gear/BottomGear.ts +1 -1
- package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +1 -1
- package/src/plugins/clappr-stats/ClapprStats.ts +1 -1
- package/src/plugins/click-to-pause/ClickToPause.ts +1 -1
- package/src/plugins/clips/Clips.ts +1 -1
- package/src/plugins/context-menu/ContextMenu.ts +2 -2
- package/src/plugins/dvr-controls/DvrControls.ts +33 -45
- package/src/plugins/dvr-controls/__tests__/DvrControls.test.ts +91 -0
- package/src/plugins/dvr-controls/__tests__/__snapshots__/DvrControls.test.ts.snap +43 -0
- package/src/plugins/error-screen/ErrorScreen.ts +3 -22
- package/src/plugins/favicon/Favicon.ts +38 -41
- package/src/plugins/google-analytics/GoogleAnalytics.ts +1 -1
- package/src/plugins/level-selector/LevelSelector.ts +1 -1
- package/src/plugins/logo/Logo.ts +1 -1
- package/src/plugins/media-control/MediaControl.ts +17 -3
- package/src/plugins/multi-camera/MultiCamera.ts +1 -1
- package/src/plugins/picture-in-picture/PictureInPicture.ts +1 -1
- package/src/plugins/playback-rate/PlaybackRate.ts +1 -1
- package/src/plugins/poster/Poster.ts +1 -1
- package/src/plugins/seek-time/SeekTime.ts +1 -1
- package/src/plugins/share/Share.ts +1 -1
- package/src/plugins/skip-time/SkipTime.ts +1 -1
- package/src/plugins/source-controller/SourceController.ts +1 -1
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +1 -1
- package/src/plugins/subtitles/Subtitles.ts +1 -1
- package/src/plugins/telemetry/Telemetry.ts +1 -1
- package/src/plugins/thumbnails/Thumbnails.ts +1 -1
- package/src/plugins/volume-fade/VolumeFade.ts +1 -1
- package/src/testUtils.ts +28 -4
- package/src/types.ts +20 -26
- package/temp/player.api.json +274 -455
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.errordesc.md +0 -28
- package/docs/api/player.favicon._constructor_.md +0 -50
- package/docs/api/player.favicon.bindevents.md +0 -18
- package/docs/api/player.favicon.name.md +0 -14
- package/docs/api/player.favicon.supportedversion.md +0 -16
- package/docs/api/player.mediatransport.md +0 -16
|
@@ -103,7 +103,7 @@ export enum TelemetryEvent {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* PLUGIN that collects and reports the performance statistics.
|
|
106
|
+
* `PLUGIN` that collects and reports the performance statistics.
|
|
107
107
|
* @beta
|
|
108
108
|
* @remarks
|
|
109
109
|
* This plugin is experimental and its API is likely to change.
|
package/src/testUtils.ts
CHANGED
|
@@ -82,7 +82,10 @@ export class _MockPlayback extends Events {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export function createMockCore(
|
|
85
|
+
export function createMockCore(
|
|
86
|
+
options: Record<string, unknown> = {},
|
|
87
|
+
container: any = createMockContainer(),
|
|
88
|
+
) {
|
|
86
89
|
const el = document.createElement('div')
|
|
87
90
|
const emitter = new Events()
|
|
88
91
|
return Object.assign(emitter, {
|
|
@@ -90,10 +93,14 @@ export function createMockCore(options: Record<string, unknown> = {}, container:
|
|
|
90
93
|
$el: $(el),
|
|
91
94
|
activePlayback: container.playback,
|
|
92
95
|
activeContainer: container,
|
|
96
|
+
i18n: {
|
|
97
|
+
t: vi.fn().mockImplementation((key: string) => key),
|
|
98
|
+
},
|
|
93
99
|
options: {
|
|
94
100
|
...options,
|
|
95
101
|
},
|
|
96
102
|
configure: vi.fn(),
|
|
103
|
+
getPlaybackType: vi.fn(),
|
|
97
104
|
getPlugin: vi.fn(),
|
|
98
105
|
load: vi.fn(),
|
|
99
106
|
trigger: emitter.emit,
|
|
@@ -165,20 +172,37 @@ export function createMockPlayback(name = 'mock') {
|
|
|
165
172
|
|
|
166
173
|
export function createMockContainer(playback: any = createMockPlayback()) {
|
|
167
174
|
const el = document.createElement('div')
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
const emitter = new Events()
|
|
176
|
+
return Object.assign(emitter, {
|
|
170
177
|
el,
|
|
171
|
-
getPlugin: vi.fn(),
|
|
172
178
|
playback,
|
|
179
|
+
$el: $(el),
|
|
180
|
+
getDuration: vi.fn().mockReturnValue(0),
|
|
181
|
+
getPlugin: vi.fn(),
|
|
182
|
+
isPlaying: vi.fn().mockReturnValue(false),
|
|
183
|
+
play: vi.fn(),
|
|
184
|
+
seek: vi.fn(),
|
|
185
|
+
trigger: emitter.emit,
|
|
173
186
|
})
|
|
174
187
|
}
|
|
175
188
|
|
|
176
189
|
export function createMockMediaControl(core: any) {
|
|
177
190
|
const mediaControl = new UICorePlugin(core)
|
|
191
|
+
mediaControl.$el.html(
|
|
192
|
+
`<div class="media-control-left-panel" data-media-control></div>
|
|
193
|
+
<div class="media-control-right-panel" data-media-control></div>
|
|
194
|
+
<div class="media-control-center-panel" data-media-control></div>`,
|
|
195
|
+
)
|
|
178
196
|
const elements = {
|
|
179
197
|
gear: $(document.createElement('div')),
|
|
180
198
|
}
|
|
181
199
|
// @ts-ignore
|
|
182
200
|
mediaControl.getElement = vi.fn().mockImplementation((name) => elements[name])
|
|
201
|
+
// @ts-ignore
|
|
202
|
+
mediaControl.getLeftPanel = vi.fn().mockImplementation(() => mediaControl.$el.find('.media-control-left-panel'))
|
|
203
|
+
// @ts-ignore
|
|
204
|
+
mediaControl.getRightPanel = vi.fn().mockImplementation(() => mediaControl.$el.find('.media-control-right-panel'))
|
|
205
|
+
// @ts-ignore
|
|
206
|
+
mediaControl.getCenterPanel = vi.fn().mockImplementation(() => mediaControl.$el.find('.media-control-center-panel'))
|
|
183
207
|
return mediaControl
|
|
184
208
|
}
|
package/src/types.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { $, Container, Core } from "@clappr/core";
|
|
|
6
6
|
* @remarks
|
|
7
7
|
* When the MIME type is provided, it helps the player determine the appropriate playback engine.
|
|
8
8
|
* If omitted, the player will attempt to detect the type from the source URL extension.
|
|
9
|
-
* @
|
|
9
|
+
* @public
|
|
10
10
|
*/
|
|
11
11
|
export interface PlayerMediaSourceDesc {
|
|
12
12
|
/**
|
|
@@ -23,42 +23,36 @@ export interface PlayerMediaSourceDesc {
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* A media source to fetch the media data from
|
|
26
|
-
* @
|
|
26
|
+
* @public
|
|
27
27
|
*/
|
|
28
28
|
export type PlayerMediaSource = string | PlayerMediaSourceDesc
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Debug output category selector
|
|
32
|
-
* @
|
|
32
|
+
* @public
|
|
33
33
|
*/
|
|
34
34
|
export type PlayerDebugTag = 'all' | 'clappr' | 'dash' | 'hls' | 'none'
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @remarks `true` is equivalent to `'all'`, `false` is equivalent to `'none'`
|
|
38
|
-
* @
|
|
38
|
+
* @public
|
|
39
39
|
*/
|
|
40
40
|
export type PlayerDebugSettings = PlayerDebugTag | boolean
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Type of a stream
|
|
44
|
-
* @
|
|
43
|
+
* Type of a stream
|
|
44
|
+
* @public
|
|
45
45
|
*/
|
|
46
46
|
export type PlaybackType = 'live' | 'vod'
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @
|
|
49
|
+
* Preferred streaming media delivery protocol
|
|
50
|
+
* @public
|
|
51
51
|
*/
|
|
52
|
-
export type
|
|
52
|
+
export type TransportPreference = 'dash' | 'hls'
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @beta
|
|
57
|
-
*/
|
|
58
|
-
export type TransportPreference = MediaTransport
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @beta
|
|
55
|
+
* @public
|
|
62
56
|
* @see {@link https://clappr.github.io/classes/UIContainerPlugin.html},
|
|
63
57
|
* {@link https://clappr.github.io/classes/ContainerPlugin.html}
|
|
64
58
|
*/
|
|
@@ -67,12 +61,12 @@ export type PlayerPlugin = {
|
|
|
67
61
|
}
|
|
68
62
|
|
|
69
63
|
/**
|
|
70
|
-
* @
|
|
64
|
+
* @public
|
|
71
65
|
*/
|
|
72
66
|
export type PlayerPluginConstructor = CorePluginConstructor | ContainerPluginConstructor
|
|
73
67
|
|
|
74
68
|
/**
|
|
75
|
-
* @
|
|
69
|
+
* @public
|
|
76
70
|
*/
|
|
77
71
|
export type CorePluginConstructor = {
|
|
78
72
|
new (core: Core): PlayerPlugin
|
|
@@ -80,7 +74,7 @@ export type CorePluginConstructor = {
|
|
|
80
74
|
}
|
|
81
75
|
|
|
82
76
|
/**
|
|
83
|
-
* @
|
|
77
|
+
* @public
|
|
84
78
|
*/
|
|
85
79
|
export type ContainerPluginConstructor = {
|
|
86
80
|
new (container: Container): PlayerPlugin
|
|
@@ -126,7 +120,7 @@ export type ContainerPluginConstructor = {
|
|
|
126
120
|
* },
|
|
127
121
|
* }
|
|
128
122
|
* ```
|
|
129
|
-
* @
|
|
123
|
+
* @public
|
|
130
124
|
*/
|
|
131
125
|
export interface PlayerConfig extends Record<string, unknown> {
|
|
132
126
|
/**
|
|
@@ -194,18 +188,18 @@ export interface PlayerConfig extends Record<string, unknown> {
|
|
|
194
188
|
/**
|
|
195
189
|
* An ISO 639-1 language code.
|
|
196
190
|
* @example `pt`
|
|
197
|
-
* @
|
|
191
|
+
* @public
|
|
198
192
|
*/
|
|
199
193
|
export type LangTag = string
|
|
200
194
|
|
|
201
195
|
/**
|
|
202
|
-
* @
|
|
196
|
+
* @public
|
|
203
197
|
*/
|
|
204
198
|
export type TranslationKey = string
|
|
205
199
|
|
|
206
200
|
/**
|
|
207
201
|
* A plain JS object that must conform to the DASH.js settings schema.
|
|
208
|
-
* @
|
|
202
|
+
* @public
|
|
209
203
|
* {@link https://cdn.dashjs.org/latest/jsdoc/module-Settings.html | DASH.js settings}
|
|
210
204
|
*/
|
|
211
205
|
export type DashSettings = Record<string, unknown>
|
|
@@ -232,7 +226,7 @@ export type DashSettings = Record<string, unknown>
|
|
|
232
226
|
* }
|
|
233
227
|
* ```
|
|
234
228
|
*
|
|
235
|
-
* @
|
|
229
|
+
* @public
|
|
236
230
|
*/
|
|
237
231
|
export type TranslationSettings = Partial<
|
|
238
232
|
Record<LangTag, Record<TranslationKey, string>>
|
|
@@ -240,7 +234,7 @@ export type TranslationSettings = Partial<
|
|
|
240
234
|
|
|
241
235
|
/**
|
|
242
236
|
* Dimensions of the player container DOM element.
|
|
243
|
-
* @
|
|
237
|
+
* @public
|
|
244
238
|
*/
|
|
245
239
|
export type ContainerSize = {
|
|
246
240
|
width: number
|
|
@@ -249,7 +243,7 @@ export type ContainerSize = {
|
|
|
249
243
|
|
|
250
244
|
/**
|
|
251
245
|
* A top-level event on the player object
|
|
252
|
-
* @
|
|
246
|
+
* @public
|
|
253
247
|
*/
|
|
254
248
|
export enum PlayerEvent {
|
|
255
249
|
/**
|