shaka-player 3.3.15 → 3.3.17

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.
Files changed (43) hide show
  1. package/.github/workflows/selenium-lab-tests.yaml +22 -0
  2. package/CHANGELOG.md +27 -0
  3. package/dist/locales.js +31 -31
  4. package/dist/shaka-player.compiled.d.ts +5 -0
  5. package/dist/shaka-player.compiled.debug.d.ts +5 -0
  6. package/dist/shaka-player.compiled.debug.externs.js +4 -0
  7. package/dist/shaka-player.compiled.debug.js +99 -92
  8. package/dist/shaka-player.compiled.debug.map +3 -3
  9. package/dist/shaka-player.compiled.externs.js +4 -0
  10. package/dist/shaka-player.compiled.js +353 -350
  11. package/dist/shaka-player.compiled.map +3 -3
  12. package/dist/shaka-player.ui.d.ts +5 -0
  13. package/dist/shaka-player.ui.debug.d.ts +5 -0
  14. package/dist/shaka-player.ui.debug.externs.js +4 -0
  15. package/dist/shaka-player.ui.debug.js +113 -106
  16. package/dist/shaka-player.ui.debug.map +3 -3
  17. package/dist/shaka-player.ui.externs.js +4 -0
  18. package/dist/shaka-player.ui.js +393 -389
  19. package/dist/shaka-player.ui.map +3 -3
  20. package/externs/shaka/text.js +7 -0
  21. package/lib/dash/segment_template.js +17 -5
  22. package/lib/hls/hls_parser.js +1 -1
  23. package/lib/player.js +7 -1
  24. package/lib/polyfill/media_capabilities.js +1 -0
  25. package/lib/text/cue.js +6 -0
  26. package/lib/text/ui_text_displayer.js +25 -9
  27. package/lib/text/vtt_text_parser.js +256 -91
  28. package/lib/text/web_vtt_generator.js +21 -9
  29. package/lib/util/dom_utils.js +3 -1
  30. package/lib/util/platform.js +8 -0
  31. package/lib/util/stream_utils.js +6 -0
  32. package/lib/util/timer.js +17 -0
  33. package/package.json +1 -1
  34. package/support.html +1 -0
  35. package/test/dash/dash_parser_manifest_unit.js +0 -36
  36. package/test/player_integration.js +27 -0
  37. package/test/player_unit.js +4 -2
  38. package/test/test/util/layout_tests.js +433 -0
  39. package/test/test/util/util.js +0 -120
  40. package/test/{ui → text}/text_displayer_layout_unit.js +59 -235
  41. package/test/text/ui_text_displayer_unit.js +72 -4
  42. package/test/text/vtt_text_parser_unit.js +127 -6
  43. package/test/text/web_vtt_layout_integration.js +528 -0
@@ -1700,6 +1700,7 @@ declare namespace shaka.text {
1700
1700
  startTime : any ;
1701
1701
  textAlign : any ;
1702
1702
  textDecoration : any ;
1703
+ textShadow : any ;
1703
1704
  textStrokeColor : any ;
1704
1705
  textStrokeWidth : any ;
1705
1706
  wrapLine : any ;
@@ -4520,6 +4521,10 @@ declare namespace shaka.extern {
4520
4521
  * and line through. Empty array means no decoration.
4521
4522
  */
4522
4523
  textDecoration : shaka.text.Cue.textDecoration [] ;
4524
+ /**
4525
+ * Text shadow color as a CSS text-shadow value.
4526
+ */
4527
+ textShadow : string ;
4523
4528
  /**
4524
4529
  * Text stroke color as a CSS color, e.g. "#FFFFFF" or "white".
4525
4530
  */
@@ -1700,6 +1700,7 @@ declare namespace shaka.text {
1700
1700
  startTime : any ;
1701
1701
  textAlign : any ;
1702
1702
  textDecoration : any ;
1703
+ textShadow : any ;
1703
1704
  textStrokeColor : any ;
1704
1705
  textStrokeWidth : any ;
1705
1706
  wrapLine : any ;
@@ -4520,6 +4521,10 @@ declare namespace shaka.extern {
4520
4521
  * and line through. Empty array means no decoration.
4521
4522
  */
4522
4523
  textDecoration : shaka.text.Cue.textDecoration [] ;
4524
+ /**
4525
+ * Text shadow color as a CSS text-shadow value.
4526
+ */
4527
+ textShadow : string ;
4523
4528
  /**
4524
4529
  * Text stroke color as a CSS color, e.g. "#FFFFFF" or "white".
4525
4530
  */
@@ -652,6 +652,10 @@ shaka.text.Cue.prototype.backgroundImage;
652
652
  * @override
653
653
  */
654
654
  shaka.text.Cue.prototype.border;
655
+ /**
656
+ * @override
657
+ */
658
+ shaka.text.Cue.prototype.textShadow;
655
659
  /**
656
660
  * @override
657
661
  */