shaka-player 3.2.18 → 3.2.19
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/.github/workflows/selenium-lab-tests.yaml +22 -0
- package/CHANGELOG.md +16 -0
- package/dist/locales.js +30 -30
- package/dist/shaka-player.compiled.d.ts +5 -0
- package/dist/shaka-player.compiled.debug.d.ts +5 -0
- package/dist/shaka-player.compiled.debug.externs.js +4 -0
- package/dist/shaka-player.compiled.debug.js +77 -72
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +4 -0
- package/dist/shaka-player.compiled.js +145 -142
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +5 -0
- package/dist/shaka-player.ui.debug.d.ts +5 -0
- package/dist/shaka-player.ui.debug.externs.js +4 -0
- package/dist/shaka-player.ui.debug.js +91 -86
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +4 -0
- package/dist/shaka-player.ui.js +185 -182
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/text.js +7 -0
- package/lib/dash/segment_template.js +17 -5
- package/lib/hls/hls_parser.js +1 -1
- package/lib/player.js +1 -1
- package/lib/polyfill/media_capabilities.js +1 -0
- package/lib/text/cue.js +6 -0
- package/lib/text/ui_text_displayer.js +1 -5
- package/lib/text/vtt_text_parser.js +256 -91
- package/lib/util/platform.js +8 -0
- package/package.json +1 -1
- package/support.html +1 -0
- package/test/dash/dash_parser_manifest_unit.js +0 -36
- package/test/test/util/layout_tests.js +433 -0
- package/test/test/util/util.js +0 -120
- package/test/{ui → text}/text_displayer_layout_unit.js +59 -235
- package/test/text/ui_text_displayer_unit.js +2 -4
- package/test/text/vtt_text_parser_unit.js +127 -6
- package/test/text/web_vtt_layout_integration.js +528 -0
|
@@ -1663,6 +1663,7 @@ declare namespace shaka.text {
|
|
|
1663
1663
|
startTime : any ;
|
|
1664
1664
|
textAlign : any ;
|
|
1665
1665
|
textDecoration : any ;
|
|
1666
|
+
textShadow : any ;
|
|
1666
1667
|
wrapLine : any ;
|
|
1667
1668
|
writingMode : any ;
|
|
1668
1669
|
}
|
|
@@ -4309,6 +4310,10 @@ declare namespace shaka.extern {
|
|
|
4309
4310
|
* and line through. Empty array means no decoration.
|
|
4310
4311
|
*/
|
|
4311
4312
|
textDecoration : shaka.text.Cue.textDecoration [] ;
|
|
4313
|
+
/**
|
|
4314
|
+
* Text shadow color as a CSS text-shadow value.
|
|
4315
|
+
*/
|
|
4316
|
+
textShadow : string ;
|
|
4312
4317
|
/**
|
|
4313
4318
|
* Whether or not line wrapping should be applied to the cue.
|
|
4314
4319
|
*/
|
|
@@ -1663,6 +1663,7 @@ declare namespace shaka.text {
|
|
|
1663
1663
|
startTime : any ;
|
|
1664
1664
|
textAlign : any ;
|
|
1665
1665
|
textDecoration : any ;
|
|
1666
|
+
textShadow : any ;
|
|
1666
1667
|
wrapLine : any ;
|
|
1667
1668
|
writingMode : any ;
|
|
1668
1669
|
}
|
|
@@ -4309,6 +4310,10 @@ declare namespace shaka.extern {
|
|
|
4309
4310
|
* and line through. Empty array means no decoration.
|
|
4310
4311
|
*/
|
|
4311
4312
|
textDecoration : shaka.text.Cue.textDecoration [] ;
|
|
4313
|
+
/**
|
|
4314
|
+
* Text shadow color as a CSS text-shadow value.
|
|
4315
|
+
*/
|
|
4316
|
+
textShadow : string ;
|
|
4312
4317
|
/**
|
|
4313
4318
|
* Whether or not line wrapping should be applied to the cue.
|
|
4314
4319
|
*/
|