@gcorevideo/player 2.26.1 → 2.26.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/README.md +5 -5
- package/dist/core.js +1 -1
- package/dist/index.css +893 -893
- package/dist/index.embed.js +42 -29
- package/dist/index.js +52 -39
- package/dist/player.d.ts +14 -15
- package/docs/api/player.audiotracks.md +0 -3
- package/docs/api/player.contextmenu._constructor_.md +0 -3
- package/docs/api/player.contextmenu.md +1 -4
- package/docs/api/player.contextmenupluginsettings.md +1 -4
- package/docs/api/player.contextmenupluginsettings.options.md +0 -3
- package/docs/api/player.md +14 -14
- package/docs/api/player.mediacontrol._constructor_.md +0 -3
- package/docs/api/player.mediacontrol.currentseekpos.md +0 -3
- package/docs/api/player.mediacontrol.defaultsettings.md +0 -3
- package/docs/api/player.mediacontrol.disable.md +0 -3
- package/docs/api/player.mediacontrol.enable.md +0 -3
- package/docs/api/player.mediacontrol.extendsettings.md +0 -3
- package/docs/api/player.mediacontrol.getavailableheight.md +0 -3
- package/docs/api/player.mediacontrol.getavailablepopupheight.md +0 -3
- package/docs/api/player.mediacontrol.md +11 -22
- package/docs/api/player.mediacontrol.mount.md +0 -3
- package/docs/api/player.mediacontrol.muted.md +0 -3
- package/docs/api/player.mediacontrol.setinitialvolume.md +0 -3
- package/docs/api/player.mediacontrol.setvolume.md +0 -3
- package/docs/api/player.mediacontrol.slot.md +0 -3
- package/docs/api/player.mediacontrol.toggleelement.md +0 -3
- package/docs/api/player.mediacontrol.volume.md +0 -3
- package/docs/api/player.mediacontrolelement.md +0 -3
- package/docs/api/player.mediacontrolsettings.md +0 -3
- package/docs/api/player.mediacontrolslotmountpoint.md +0 -3
- package/docs/api/player.playbackrate._constructor_.md +0 -3
- package/docs/api/player.playbackrate.md +1 -4
- package/docs/api/player.seektime.attributes.md +0 -3
- package/docs/api/player.seektime.md +0 -9
- package/docs/api/player.seektime.name.md +0 -3
- package/docs/api/player.seektime.supportedversion.md +0 -3
- package/docs/api/player.seektimesettings.md +0 -3
- package/docs/api/player.standardmediacontrolelement.md +0 -3
- package/docs/api/player.thumbnails._constructor_.md +0 -3
- package/docs/api/player.thumbnails.md +1 -6
- package/docs/api/player.thumbnails.render.md +0 -3
- package/docs/api/player.thumbnailspluginsettings.md +0 -3
- package/docs/api/player.volumefade._constructor_.md +0 -3
- package/docs/api/player.volumefade.md +1 -4
- package/lib/plugins/audio-selector/AudioTracks.d.ts +1 -1
- package/lib/plugins/audio-selector/AudioTracks.js +1 -1
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +3 -1
- package/lib/plugins/context-menu/ContextMenu.d.ts +2 -2
- package/lib/plugins/context-menu/ContextMenu.js +1 -1
- package/lib/plugins/level-selector/QualityLevels.js +1 -1
- package/lib/plugins/media-control/MediaControl.d.ts +5 -5
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +7 -6
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +1 -1
- package/lib/plugins/seek-time/SeekTime.d.ts +2 -3
- package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
- package/lib/plugins/seek-time/SeekTime.js +1 -1
- package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.js +16 -8
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
- package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +4 -2
- package/lib/plugins/thumbnails/Thumbnails.d.ts +2 -2
- 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/package.json +1 -1
- package/release.txt +395 -0
- package/src/plugins/audio-selector/AudioTracks.ts +1 -1
- package/src/plugins/bottom-gear/BottomGear.ts +1 -0
- package/src/plugins/context-menu/ContextMenu.ts +2 -2
- package/src/plugins/level-selector/QualityLevels.ts +1 -1
- package/src/plugins/media-control/MediaControl.ts +13 -12
- package/src/plugins/playback-rate/PlaybackRate.ts +1 -1
- package/src/plugins/seek-time/SeekTime.ts +2 -3
- package/src/plugins/source-controller/SourceController.ts +19 -11
- package/src/plugins/source-controller/__tests__/SourceController.test.ts +31 -18
- package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +4 -2
- package/src/plugins/thumbnails/Thumbnails.ts +2 -2
- package/src/plugins/volume-fade/VolumeFade.ts +1 -1
- package/temp/player.api.json +52 -52
- package/tsconfig.tsbuildinfo +1 -1
package/release.txt
ADDED
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
Fix publishing pipeline
|
|
2
|
+
|
|
3
|
+
First public release
|
|
4
|
+
|
|
5
|
+
Publish media controls
|
|
6
|
+
|
|
7
|
+
Fix some code style
|
|
8
|
+
|
|
9
|
+
Refactor closed captions plugin
|
|
10
|
+
|
|
11
|
+
Fix audio tracks and picture-in-picture alignment
|
|
12
|
+
|
|
13
|
+
Fix media control items positioning
|
|
14
|
+
|
|
15
|
+
Fix media control dashboard items positioning
|
|
16
|
+
|
|
17
|
+
Media controls positioning
|
|
18
|
+
|
|
19
|
+
Refactor media control layout API
|
|
20
|
+
|
|
21
|
+
Fix broken dvr-controls stylesheet
|
|
22
|
+
|
|
23
|
+
Fix DVR controls
|
|
24
|
+
|
|
25
|
+
Test unsigned commit
|
|
26
|
+
|
|
27
|
+
Bump oxlint from 0.16.6 to 0.16.7
|
|
28
|
+
|
|
29
|
+
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.16.6 to 0.16.7.
|
|
30
|
+
- [Release notes](https://github.com/oxc-project/oxc/releases)
|
|
31
|
+
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
|
|
32
|
+
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.16.7/npm/oxlint)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
updated-dependencies:
|
|
36
|
+
- dependency-name: oxlint
|
|
37
|
+
dependency-version: 0.16.7
|
|
38
|
+
dependency-type: direct:development
|
|
39
|
+
update-type: version-update:semver-patch
|
|
40
|
+
...
|
|
41
|
+
|
|
42
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
43
|
+
Remote dead code
|
|
44
|
+
|
|
45
|
+
Return deep matching pattern in publishing workflow
|
|
46
|
+
|
|
47
|
+
Bump version
|
|
48
|
+
|
|
49
|
+
Experimental HlsPlayback change
|
|
50
|
+
|
|
51
|
+
Fix DASH.js CMCD config
|
|
52
|
+
|
|
53
|
+
Add BigMuteButton to the embedded usage bundle
|
|
54
|
+
|
|
55
|
+
Add PlaybackRate to the bundle for embedded usage
|
|
56
|
+
|
|
57
|
+
Correct published files name pattern
|
|
58
|
+
|
|
59
|
+
Version with an embedded usage bundle
|
|
60
|
+
|
|
61
|
+
Add embedded usage bundle
|
|
62
|
+
|
|
63
|
+
Repair BigMuteButton
|
|
64
|
+
|
|
65
|
+
Bump @types/node from 22.13.14 to 22.14.1 in /packages/utils
|
|
66
|
+
|
|
67
|
+
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.14 to 22.14.1.
|
|
68
|
+
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
|
|
69
|
+
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
updated-dependencies:
|
|
73
|
+
- dependency-name: "@types/node"
|
|
74
|
+
dependency-version: 22.14.1
|
|
75
|
+
dependency-type: direct:development
|
|
76
|
+
update-type: version-update:semver-minor
|
|
77
|
+
...
|
|
78
|
+
|
|
79
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
80
|
+
Bump @sentry/types from 9.10.1 to 9.12.0 in /packages/utils
|
|
81
|
+
|
|
82
|
+
Bumps [@sentry/types](https://github.com/getsentry/sentry-javascript) from 9.10.1 to 9.12.0.
|
|
83
|
+
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
|
|
84
|
+
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
|
|
85
|
+
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.10.1...9.12.0)
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
updated-dependencies:
|
|
89
|
+
- dependency-name: "@sentry/types"
|
|
90
|
+
dependency-version: 9.12.0
|
|
91
|
+
dependency-type: direct:production
|
|
92
|
+
update-type: version-update:semver-minor
|
|
93
|
+
...
|
|
94
|
+
|
|
95
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
96
|
+
Bump oxlint from 0.16.3 to 0.16.6
|
|
97
|
+
|
|
98
|
+
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.16.3 to 0.16.6.
|
|
99
|
+
- [Release notes](https://github.com/oxc-project/oxc/releases)
|
|
100
|
+
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
|
|
101
|
+
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.16.6/npm/oxlint)
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
updated-dependencies:
|
|
105
|
+
- dependency-name: oxlint
|
|
106
|
+
dependency-version: 0.16.6
|
|
107
|
+
dependency-type: direct:development
|
|
108
|
+
update-type: version-update:semver-patch
|
|
109
|
+
...
|
|
110
|
+
|
|
111
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
112
|
+
Bump typescript from 5.8.2 to 5.8.3 in /packages/utils
|
|
113
|
+
|
|
114
|
+
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.2 to 5.8.3.
|
|
115
|
+
- [Release notes](https://github.com/microsoft/TypeScript/releases)
|
|
116
|
+
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
|
|
117
|
+
- [Commits](https://github.com/microsoft/TypeScript/commits)
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
updated-dependencies:
|
|
121
|
+
- dependency-name: typescript
|
|
122
|
+
dependency-version: 5.8.3
|
|
123
|
+
dependency-type: direct:development
|
|
124
|
+
update-type: version-update:semver-patch
|
|
125
|
+
...
|
|
126
|
+
|
|
127
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
128
|
+
Update docs
|
|
129
|
+
|
|
130
|
+
Update docs
|
|
131
|
+
|
|
132
|
+
Fix gear submenu alignment on mobile
|
|
133
|
+
|
|
134
|
+
Make CMCD cid generation sync; add docs
|
|
135
|
+
|
|
136
|
+
Add CMCD plugin
|
|
137
|
+
|
|
138
|
+
Collapse gear button menu on container click
|
|
139
|
+
|
|
140
|
+
Fix Thumnail spotlight image not showing up after hovering away
|
|
141
|
+
|
|
142
|
+
Do not render gear buttom without items
|
|
143
|
+
|
|
144
|
+
Update docs
|
|
145
|
+
|
|
146
|
+
Fix thumbnails spotlight positioning issue
|
|
147
|
+
|
|
148
|
+
Fix Thumbnails plugin
|
|
149
|
+
|
|
150
|
+
Refactor Poster plugin
|
|
151
|
+
|
|
152
|
+
Add documentation on plugins
|
|
153
|
+
|
|
154
|
+
Review SeekTime plugin
|
|
155
|
+
|
|
156
|
+
Fix duplicate seek in MediaControl; review SeekTime
|
|
157
|
+
|
|
158
|
+
Fix media controls auto-collapse; correct NerdStats styles
|
|
159
|
+
|
|
160
|
+
Auto collapse media control menus
|
|
161
|
+
|
|
162
|
+
Fix UI issues in NerdStats
|
|
163
|
+
|
|
164
|
+
Refactor VolumeFade plugin
|
|
165
|
+
|
|
166
|
+
Update docs
|
|
167
|
+
|
|
168
|
+
Rename MediaControl.putElement to mount; refactor DvrControls plugin; add ARIA markup
|
|
169
|
+
|
|
170
|
+
Add docs
|
|
171
|
+
|
|
172
|
+
Refactor NerdStats plugin
|
|
173
|
+
|
|
174
|
+
Refactor ClapprStats
|
|
175
|
+
|
|
176
|
+
Refactor Clips plugin
|
|
177
|
+
|
|
178
|
+
Clean up ContextMenu plugin
|
|
179
|
+
|
|
180
|
+
Bump vite
|
|
181
|
+
|
|
182
|
+
Bumps the npm_and_yarn group with 1 update in the /packages/player directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
Updates `vite` from 6.2.4 to 6.2.5
|
|
186
|
+
- [Release notes](https://github.com/vitejs/vite/releases)
|
|
187
|
+
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
|
|
188
|
+
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
updated-dependencies:
|
|
192
|
+
- dependency-name: vite
|
|
193
|
+
dependency-version: 6.2.5
|
|
194
|
+
dependency-type: indirect
|
|
195
|
+
dependency-group: npm_and_yarn
|
|
196
|
+
...
|
|
197
|
+
|
|
198
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
199
|
+
Bump oxlint from 0.15.13 to 0.16.3
|
|
200
|
+
|
|
201
|
+
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.15.13 to 0.16.3.
|
|
202
|
+
- [Release notes](https://github.com/oxc-project/oxc/releases)
|
|
203
|
+
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
|
|
204
|
+
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.16.3/npm/oxlint)
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
updated-dependencies:
|
|
208
|
+
- dependency-name: oxlint
|
|
209
|
+
dependency-type: direct:development
|
|
210
|
+
update-type: version-update:semver-minor
|
|
211
|
+
...
|
|
212
|
+
|
|
213
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
214
|
+
Bump @sentry/types from 9.5.0 to 9.10.1 in /packages/utils
|
|
215
|
+
|
|
216
|
+
Bumps [@sentry/types](https://github.com/getsentry/sentry-javascript) from 9.5.0 to 9.10.1.
|
|
217
|
+
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
|
|
218
|
+
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
|
|
219
|
+
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.5.0...9.10.1)
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
updated-dependencies:
|
|
223
|
+
- dependency-name: "@sentry/types"
|
|
224
|
+
dependency-version: 9.10.1
|
|
225
|
+
dependency-type: direct:production
|
|
226
|
+
update-type: version-update:semver-minor
|
|
227
|
+
...
|
|
228
|
+
|
|
229
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
230
|
+
Bump vite
|
|
231
|
+
|
|
232
|
+
Bumps the npm_and_yarn group with 1 update in the /packages/player directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
Updates `vite` from 6.2.3 to 6.2.4
|
|
236
|
+
- [Release notes](https://github.com/vitejs/vite/releases)
|
|
237
|
+
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
|
|
238
|
+
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
updated-dependencies:
|
|
242
|
+
- dependency-name: vite
|
|
243
|
+
dependency-version: 6.2.4
|
|
244
|
+
dependency-type: indirect
|
|
245
|
+
dependency-group: npm_and_yarn
|
|
246
|
+
...
|
|
247
|
+
|
|
248
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
249
|
+
Bump @types/node from 22.13.10 to 22.13.14 in /packages/utils
|
|
250
|
+
|
|
251
|
+
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.10 to 22.13.14.
|
|
252
|
+
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
|
|
253
|
+
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
updated-dependencies:
|
|
257
|
+
- dependency-name: "@types/node"
|
|
258
|
+
dependency-version: 22.13.14
|
|
259
|
+
dependency-type: direct:development
|
|
260
|
+
update-type: version-update:semver-patch
|
|
261
|
+
...
|
|
262
|
+
|
|
263
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
264
|
+
Bump vite
|
|
265
|
+
|
|
266
|
+
Bumps the npm_and_yarn group with 1 update in the /packages/player directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
Updates `vite` from 6.2.0 to 6.2.3
|
|
270
|
+
- [Release notes](https://github.com/vitejs/vite/releases)
|
|
271
|
+
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md)
|
|
272
|
+
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite)
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
updated-dependencies:
|
|
276
|
+
- dependency-name: vite
|
|
277
|
+
dependency-type: indirect
|
|
278
|
+
dependency-group: npm_and_yarn
|
|
279
|
+
...
|
|
280
|
+
|
|
281
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
282
|
+
Update documentation
|
|
283
|
+
|
|
284
|
+
Fix gear menu items alignment; hide media controls until metadata is loaded
|
|
285
|
+
|
|
286
|
+
Fix playback rate plugin activation
|
|
287
|
+
|
|
288
|
+
Fix QualityLevels restriction functionality
|
|
289
|
+
|
|
290
|
+
Update version
|
|
291
|
+
|
|
292
|
+
Add documentation on essential plugins
|
|
293
|
+
|
|
294
|
+
Refactor gear button
|
|
295
|
+
|
|
296
|
+
Bump @sentry/types from 8.51.0 to 9.5.0 in /packages/utils
|
|
297
|
+
|
|
298
|
+
Bumps [@sentry/types](https://github.com/getsentry/sentry-javascript) from 8.51.0 to 9.5.0.
|
|
299
|
+
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
|
|
300
|
+
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
|
|
301
|
+
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.51.0...9.5.0)
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
updated-dependencies:
|
|
305
|
+
- dependency-name: "@sentry/types"
|
|
306
|
+
dependency-type: direct:production
|
|
307
|
+
update-type: version-update:semver-major
|
|
308
|
+
...
|
|
309
|
+
|
|
310
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
311
|
+
Fix MediaControl play/pause/stop buttons
|
|
312
|
+
|
|
313
|
+
Refactor media controls (DVR controls)
|
|
314
|
+
|
|
315
|
+
Refactor media controls, fix bugs of items positioning
|
|
316
|
+
|
|
317
|
+
Bump oxlint from 0.15.12 to 0.15.13
|
|
318
|
+
|
|
319
|
+
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.15.12 to 0.15.13.
|
|
320
|
+
- [Release notes](https://github.com/oxc-project/oxc/releases)
|
|
321
|
+
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
|
|
322
|
+
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.15.13/npm/oxlint)
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
updated-dependencies:
|
|
326
|
+
- dependency-name: oxlint
|
|
327
|
+
dependency-type: direct:development
|
|
328
|
+
update-type: version-update:semver-patch
|
|
329
|
+
...
|
|
330
|
+
|
|
331
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
332
|
+
Bump @types/node from 22.10.10 to 22.13.10 in /packages/utils
|
|
333
|
+
|
|
334
|
+
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.10 to 22.13.10.
|
|
335
|
+
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
|
|
336
|
+
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
updated-dependencies:
|
|
340
|
+
- dependency-name: "@types/node"
|
|
341
|
+
dependency-type: direct:development
|
|
342
|
+
update-type: version-update:semver-minor
|
|
343
|
+
...
|
|
344
|
+
|
|
345
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
346
|
+
Bump typescript from 5.7.3 to 5.8.2 in /packages/utils
|
|
347
|
+
|
|
348
|
+
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.2.
|
|
349
|
+
- [Release notes](https://github.com/microsoft/TypeScript/releases)
|
|
350
|
+
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
|
|
351
|
+
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
updated-dependencies:
|
|
355
|
+
- dependency-name: typescript
|
|
356
|
+
dependency-type: direct:development
|
|
357
|
+
update-type: version-update:semver-minor
|
|
358
|
+
...
|
|
359
|
+
|
|
360
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
361
|
+
Refactor Subtitles
|
|
362
|
+
|
|
363
|
+
Add documentation on Audio track selector plugin
|
|
364
|
+
|
|
365
|
+
Refactor Media control, update Audio track selector plugin
|
|
366
|
+
|
|
367
|
+
Improve native HTML5 video element error handling
|
|
368
|
+
|
|
369
|
+
Add i18n support to ErrorScreen
|
|
370
|
+
|
|
371
|
+
Fix HTML5 video playback unavailable source error handling
|
|
372
|
+
|
|
373
|
+
Bump oxlint from 0.15.11 to 0.15.12
|
|
374
|
+
|
|
375
|
+
Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.15.11 to 0.15.12.
|
|
376
|
+
- [Release notes](https://github.com/oxc-project/oxc/releases)
|
|
377
|
+
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
|
|
378
|
+
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.15.12/npm/oxlint)
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
updated-dependencies:
|
|
382
|
+
- dependency-name: oxlint
|
|
383
|
+
dependency-type: direct:development
|
|
384
|
+
update-type: version-update:semver-patch
|
|
385
|
+
...
|
|
386
|
+
|
|
387
|
+
Signed-off-by: dependabot[bot] <support@github.com>
|
|
388
|
+
Update documentation
|
|
389
|
+
|
|
390
|
+
Improve native HTML5 video element error handling
|
|
391
|
+
|
|
392
|
+
Add i18n support to ErrorScreen
|
|
393
|
+
|
|
394
|
+
Fix HTML5 video playback unavailable source error handling
|
|
395
|
+
|
|
@@ -16,7 +16,7 @@ const VERSION: string = '2.22.4'
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* `PLUGIN` that makes possible to switch audio tracks via the media control UI.
|
|
19
|
-
* @
|
|
19
|
+
* @public
|
|
20
20
|
* @remarks
|
|
21
21
|
* The plugin is activated when there are multiple audio tracks available.
|
|
22
22
|
* The plugin adds a button showing the current audio track and a dropdown to switch to another audio track.
|
|
@@ -293,6 +293,7 @@ export class BottomGear extends UICorePlugin {
|
|
|
293
293
|
this.listenTo(mediaControl, ClapprEvents.MEDIACONTROL_HIDE, this.collapse)
|
|
294
294
|
this.listenTo(
|
|
295
295
|
mediaControl,
|
|
296
|
+
// TODO ACTIVE_CONTAINER_CHANGED?
|
|
296
297
|
ClapprEvents.MEDIACONTROL_CONTAINERCHANGED,
|
|
297
298
|
() => {
|
|
298
299
|
this.bindContainerEvents(mediaControl.container)
|
|
@@ -33,7 +33,7 @@ export type MenuOption = {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Context menu plugin settings
|
|
36
|
-
* @
|
|
36
|
+
* @public
|
|
37
37
|
*/
|
|
38
38
|
export interface ContextMenuPluginSettings {
|
|
39
39
|
options?: MenuOption[]
|
|
@@ -43,7 +43,7 @@ const T = 'plugins.context_menu'
|
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* `PLUGIN` that displays a small context menu when clicked on the player container.
|
|
46
|
-
* @
|
|
46
|
+
* @public
|
|
47
47
|
* @remarks
|
|
48
48
|
* Configuration options - {@link ContextMenuPluginSettings}
|
|
49
49
|
*
|
|
@@ -256,7 +256,7 @@ export class QualityLevels extends UICorePlugin {
|
|
|
256
256
|
|
|
257
257
|
private get pluginOptions(): QualityLevelsPluginSettings {
|
|
258
258
|
return (
|
|
259
|
-
this.core.options.qualityLevels
|
|
259
|
+
this.core.options.qualityLevels ?? this.core.options.levelSelector ?? {}
|
|
260
260
|
)
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
$,
|
|
16
16
|
Core,
|
|
17
17
|
} from '@clappr/core'
|
|
18
|
-
import { reportError
|
|
18
|
+
import { reportError, trace } from '@gcorevideo/utils'
|
|
19
19
|
|
|
20
20
|
import { type TimeProgress } from '../../playback.types.js'
|
|
21
21
|
|
|
@@ -53,7 +53,7 @@ const MENU_VMARGIN = 12
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Built-in media control elements.
|
|
56
|
-
* @
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
export type StandardMediaControlElement =
|
|
59
59
|
| 'duration'
|
|
@@ -67,7 +67,7 @@ export type StandardMediaControlElement =
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* Identifies a location for mounting custom media control elements.
|
|
70
|
-
* @
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
export type MediaControlSlotMountPoint =
|
|
73
73
|
| 'root'
|
|
@@ -80,7 +80,7 @@ export type MediaControlSlotMountPoint =
|
|
|
80
80
|
/**
|
|
81
81
|
* Media control element.
|
|
82
82
|
* Each element's token in the media control layout settings determines where the element is rendered.
|
|
83
|
-
* @
|
|
83
|
+
* @public
|
|
84
84
|
* @remarks
|
|
85
85
|
* Standard media control elements are defined in the {@link StandardMediaControlElement} type.
|
|
86
86
|
* Custom media control elements can be identified by a unique token.
|
|
@@ -91,7 +91,7 @@ export type MediaControlElement = string
|
|
|
91
91
|
* Specifies the layout of media control elements.
|
|
92
92
|
* Actual elements will be rendered according to the playback settings. Custom elements rendered by the plugins
|
|
93
93
|
* will be mounted at the specified locations.
|
|
94
|
-
* @
|
|
94
|
+
* @public
|
|
95
95
|
*/
|
|
96
96
|
export type MediaControlSettings = {
|
|
97
97
|
left: MediaControlElement[]
|
|
@@ -119,7 +119,7 @@ const INITIAL_SETTINGS: MediaControlSettings = {
|
|
|
119
119
|
seekEnabled: false,
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
const T = 'plugins.media_control'
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Extended events for the {@link MediaControl} plugin
|
|
@@ -134,7 +134,7 @@ const { Config, Fullscreen, formatTime, extend, removeArrayItem } = Utils
|
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* `PLUGIN` that provides framework for building media control UI.
|
|
137
|
-
* @
|
|
137
|
+
* @public
|
|
138
138
|
* @remarks
|
|
139
139
|
* The methods exposed are to be used by the other plugins that extend the media control UI.
|
|
140
140
|
*
|
|
@@ -659,8 +659,8 @@ export class MediaControl extends UICorePlugin {
|
|
|
659
659
|
|
|
660
660
|
private changeTogglePlay() {
|
|
661
661
|
this.$playPauseToggle?.html('')
|
|
662
|
-
|
|
663
662
|
this.$playStopToggle?.html('')
|
|
663
|
+
|
|
664
664
|
if (this.container && this.container.isPlaying()) {
|
|
665
665
|
this.$playPauseToggle?.append(pauseIcon)
|
|
666
666
|
this.$playStopToggle?.append(pauseIcon)
|
|
@@ -927,7 +927,10 @@ export class MediaControl extends UICorePlugin {
|
|
|
927
927
|
} else {
|
|
928
928
|
this.hideVolumeId = setTimeout(() => {
|
|
929
929
|
this.hideVolumeId = null
|
|
930
|
-
|
|
930
|
+
trace(`${T} hideVolumeBar`, {
|
|
931
|
+
volumeBarContainer: !!this.$volumeBarContainer,
|
|
932
|
+
})
|
|
933
|
+
this.$volumeBarContainer?.addClass('volume-bar-hide')
|
|
931
934
|
}, timeout)
|
|
932
935
|
}
|
|
933
936
|
}
|
|
@@ -1473,10 +1476,8 @@ export class MediaControl extends UICorePlugin {
|
|
|
1473
1476
|
const timeout = this.options.hideMediaControlDelay || 2000
|
|
1474
1477
|
|
|
1475
1478
|
this.$el.html(MediaControl.template({ settings: this.settings }))
|
|
1476
|
-
// const style = Styler.getStyleFor(mediaControlStyle, { baseUrl: this.options.baseUrl });
|
|
1477
|
-
// this.$el.append(style[0]);
|
|
1478
|
-
this.createCachedElements()
|
|
1479
1479
|
|
|
1480
|
+
this.createCachedElements()
|
|
1480
1481
|
this.drawDurationAndPosition()
|
|
1481
1482
|
|
|
1482
1483
|
this.$playPauseToggle?.addClass('paused')
|
|
@@ -14,12 +14,11 @@ import '../../../assets/seek-time/seek-time.scss'
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Configuration options for the SeekTime plugin.
|
|
17
|
-
* @
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export type SeekTimeSettings = {
|
|
20
20
|
/**
|
|
21
21
|
* Whether to show the duration of the video. Applies only to the VOD streams.
|
|
22
|
-
* @beta
|
|
23
22
|
*/
|
|
24
23
|
duration?: boolean
|
|
25
24
|
}
|
|
@@ -30,7 +29,7 @@ const { formatTime } = Utils
|
|
|
30
29
|
|
|
31
30
|
/**
|
|
32
31
|
* `PLUGIN` that adds a seek time indicator when the mouse pointer is over the seek bar.
|
|
33
|
-
* @
|
|
32
|
+
* @public
|
|
34
33
|
* @remarks
|
|
35
34
|
* Configuration options - {@link SeekTimeSettings}
|
|
36
35
|
*/
|
|
@@ -225,25 +225,32 @@ export class SourceController extends CorePlugin {
|
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
227
|
)
|
|
228
|
-
this.core.activePlayback.on(Events.PLAYBACK_PLAY, () => {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
})
|
|
228
|
+
// this.core.activePlayback.on(Events.PLAYBACK_PLAY, () => {
|
|
229
|
+
// trace(`${T} on PLAYBACK_PLAY`, {
|
|
230
|
+
// currentSource: this.sourcesList[this.currentSourceIndex],
|
|
231
|
+
// retrying: this.active,
|
|
232
|
+
// })
|
|
233
|
+
// if (this.active) {
|
|
234
|
+
// this.reset()
|
|
235
|
+
// this.core.activeContainer?.getPlugin('poster')?.enable()
|
|
236
|
+
// this.core.activeContainer?.getPlugin('spinner')?.hide()
|
|
237
|
+
// }
|
|
238
|
+
// })
|
|
239
239
|
this.listenTo(
|
|
240
240
|
this.core.activeContainer,
|
|
241
241
|
Events.CONTAINER_PLAY,
|
|
242
242
|
(_: string, { autoPlay }: { autoPlay?: boolean }) => {
|
|
243
243
|
trace(`${T} onContainerPlay`, {
|
|
244
244
|
autoPlay,
|
|
245
|
+
currentSource: this.sourcesList[this.currentSourceIndex],
|
|
246
|
+
retrying: this.active,
|
|
245
247
|
})
|
|
246
248
|
this.autoPlay = !!autoPlay
|
|
249
|
+
if (this.active) {
|
|
250
|
+
this.reset()
|
|
251
|
+
this.core.activeContainer?.getPlugin('poster')?.enable()
|
|
252
|
+
this.core.activeContainer?.getPlugin('spinner')?.hide()
|
|
253
|
+
}
|
|
247
254
|
},
|
|
248
255
|
)
|
|
249
256
|
}
|
|
@@ -275,6 +282,7 @@ export class SourceController extends CorePlugin {
|
|
|
275
282
|
setTimeout(() => {
|
|
276
283
|
trace(`${T} retryPlayback playing`, {
|
|
277
284
|
autoPlay: this.autoPlay,
|
|
285
|
+
nextSource,
|
|
278
286
|
})
|
|
279
287
|
this.core.activeContainer.play({
|
|
280
288
|
autoPlay: this.autoPlay,
|