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
|
@@ -891,6 +891,10 @@ shaka.text.Cue.prototype.id;
|
|
|
891
891
|
* @override
|
|
892
892
|
*/
|
|
893
893
|
shaka.text.Cue.prototype.nestedCues;
|
|
894
|
+
/**
|
|
895
|
+
* @override
|
|
896
|
+
*/
|
|
897
|
+
shaka.text.Cue.prototype.isContainer;
|
|
894
898
|
/**
|
|
895
899
|
* @override
|
|
896
900
|
*/
|
|
@@ -3525,6 +3529,13 @@ shaka.polyfill.MediaCapabilities = class {
|
|
|
3525
3529
|
*/
|
|
3526
3530
|
static install() {}
|
|
3527
3531
|
};
|
|
3532
|
+
/**
|
|
3533
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
3534
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
3535
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
3536
|
+
* @type {MediaCapabilities}
|
|
3537
|
+
*/
|
|
3538
|
+
shaka.polyfill.MediaCapabilities.originalMcap;
|
|
3528
3539
|
/**
|
|
3529
3540
|
* @summary A polyfill to patch MSE bugs.
|
|
3530
3541
|
*/
|