shaka-player 3.1.4 → 3.1.5
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/CHANGELOG.md +39 -0
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/locales.js +29 -29
- package/dist/shaka-player.compiled.d.ts +14 -0
- package/dist/shaka-player.compiled.debug.d.ts +14 -0
- package/dist/shaka-player.compiled.debug.externs.js +11 -0
- package/dist/shaka-player.compiled.debug.js +170 -168
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +11 -0
- package/dist/shaka-player.compiled.js +650 -650
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.d.ts +14 -0
- package/dist/shaka-player.ui.debug.d.ts +14 -0
- package/dist/shaka-player.ui.debug.externs.js +11 -0
- package/dist/shaka-player.ui.debug.js +178 -176
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +11 -0
- package/dist/shaka-player.ui.js +792 -792
- package/dist/shaka-player.ui.map +2 -2
- package/externs/shaka/text.js +10 -0
- package/lib/dash/dash_parser.js +4 -2
- package/lib/media/streaming_engine.js +5 -2
- package/lib/player.js +1 -1
- package/lib/polyfill/media_capabilities.js +30 -15
- package/lib/text/cue.js +6 -0
- package/lib/text/ttml_text_parser.js +84 -58
- package/lib/text/ui_text_displayer.js +17 -11
- package/lib/util/stream_utils.js +58 -7
- package/lib/util/xml_utils.js +19 -0
- package/package.json +2 -2
- package/test/dash/dash_parser_manifest_unit.js +33 -1
- package/test/media/drm_engine_unit.js +3 -3
- package/test/media/streaming_engine_integration.js +2 -1
- package/test/media/streaming_engine_unit.js +145 -0
- package/test/player_unit.js +5 -5
- package/test/test/util/ttml_utils.js +81 -0
- package/test/text/mp4_ttml_parser_unit.js +11 -18
- package/test/text/ttml_text_parser_unit.js +495 -228
- package/test/util/stream_utils_unit.js +35 -29
- package/ui/less/buttons.less +0 -4
- package/ui/text_selection.js +1 -0
- package/externs/media_capabilities.js +0 -16
|
@@ -715,6 +715,10 @@ shaka.text.Cue.prototype.id;
|
|
|
715
715
|
* @override
|
|
716
716
|
*/
|
|
717
717
|
shaka.text.Cue.prototype.nestedCues;
|
|
718
|
+
/**
|
|
719
|
+
* @override
|
|
720
|
+
*/
|
|
721
|
+
shaka.text.Cue.prototype.isContainer;
|
|
718
722
|
/**
|
|
719
723
|
* @override
|
|
720
724
|
*/
|
|
@@ -3409,6 +3413,13 @@ shaka.polyfill.MediaCapabilities = class {
|
|
|
3409
3413
|
*/
|
|
3410
3414
|
static install() {}
|
|
3411
3415
|
};
|
|
3416
|
+
/**
|
|
3417
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
3418
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
3419
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
3420
|
+
* @type {MediaCapabilities}
|
|
3421
|
+
*/
|
|
3422
|
+
shaka.polyfill.MediaCapabilities.originalMcap;
|
|
3412
3423
|
/**
|
|
3413
3424
|
* @summary A polyfill to patch MSE bugs.
|
|
3414
3425
|
*/
|