@gcorevideo/player 2.28.24 → 2.28.25
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 +8 -1
- package/dist/index.css +358 -358
- package/dist/index.embed.js +24 -2
- package/dist/index.js +29 -3
- package/lib/playback/dash-playback/DashPlayback.d.ts +4 -0
- package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
- package/lib/playback/dash-playback/DashPlayback.js +7 -0
- package/lib/plugins/subtitles/ClosedCaptions.d.ts +2 -0
- package/lib/plugins/subtitles/ClosedCaptions.d.ts.map +1 -1
- package/lib/plugins/subtitles/ClosedCaptions.js +21 -2
- package/package.json +1 -1
- package/src/playback/BasePlayback.ts +1 -1
- package/src/playback/dash-playback/DashPlayback.ts +8 -0
- package/src/plugins/subtitles/ClosedCaptions.ts +24 -2
- package/src/plugins/subtitles/__tests__/ClosedCaptions.test.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/dist/core.js
CHANGED
|
@@ -13247,6 +13247,13 @@ class DashPlayback extends BasePlayback {
|
|
|
13247
13247
|
this.trigger(Events$1.PLAYBACK_AUDIO_AVAILABLE, tracks.map(toClapprTrack$1));
|
|
13248
13248
|
}
|
|
13249
13249
|
}
|
|
13250
|
+
/**
|
|
13251
|
+
* @override
|
|
13252
|
+
*/
|
|
13253
|
+
_handleTextTrackChange() {
|
|
13254
|
+
super._handleTextTrackChange();
|
|
13255
|
+
this._dash?.setTextTrack(this.closedCaptionsTrackId);
|
|
13256
|
+
}
|
|
13250
13257
|
}
|
|
13251
13258
|
DashPlayback.canPlay = function (resource, mimeType) {
|
|
13252
13259
|
if (!isDashSource(resource, mimeType)) {
|
|
@@ -51319,7 +51326,7 @@ class Player {
|
|
|
51319
51326
|
}
|
|
51320
51327
|
}
|
|
51321
51328
|
|
|
51322
|
-
var version$1 = "2.28.
|
|
51329
|
+
var version$1 = "2.28.25";
|
|
51323
51330
|
|
|
51324
51331
|
var packages = {
|
|
51325
51332
|
"node_modules/@clappr/core": {
|