shaka-player 4.0.4 → 4.0.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.
Files changed (45) hide show
  1. package/.github/workflows/build-and-test.yaml +67 -15
  2. package/.github/workflows/compute-incremental-coverage.py +251 -0
  3. package/.github/workflows/report-incremental-coverage.yaml +39 -0
  4. package/.github/workflows/selenium-lab-tests.yaml +44 -1
  5. package/AUTHORS +1 -0
  6. package/CHANGELOG.md +17 -0
  7. package/CONTRIBUTORS +1 -0
  8. package/demo/index.html +1 -1
  9. package/dist/controls.css +1 -1
  10. package/dist/locales.js +30 -30
  11. package/dist/shaka-player.compiled.d.ts +1 -1
  12. package/dist/shaka-player.compiled.debug.d.ts +1 -1
  13. package/dist/shaka-player.compiled.debug.externs.js +1 -1
  14. package/dist/shaka-player.compiled.debug.js +80 -77
  15. package/dist/shaka-player.compiled.debug.map +3 -3
  16. package/dist/shaka-player.compiled.externs.js +1 -1
  17. package/dist/shaka-player.compiled.js +763 -761
  18. package/dist/shaka-player.compiled.map +3 -3
  19. package/dist/shaka-player.ui.d.ts +1 -1
  20. package/dist/shaka-player.ui.debug.d.ts +1 -1
  21. package/dist/shaka-player.ui.debug.externs.js +1 -1
  22. package/dist/shaka-player.ui.debug.js +93 -90
  23. package/dist/shaka-player.ui.debug.map +3 -3
  24. package/dist/shaka-player.ui.externs.js +1 -1
  25. package/dist/shaka-player.ui.js +910 -908
  26. package/dist/shaka-player.ui.map +3 -3
  27. package/docs/tutorials/ui.md +5 -5
  28. package/karma.conf.js +3 -11
  29. package/lib/ads/client_side_ad_manager.js +1 -1
  30. package/lib/media/drm_engine.js +1 -1
  31. package/lib/media/streaming_engine.js +1 -0
  32. package/lib/player.js +1 -6
  33. package/lib/polyfill/media_capabilities.js +6 -0
  34. package/lib/text/cue.js +0 -5
  35. package/lib/text/simple_text_displayer.js +21 -9
  36. package/lib/text/ui_text_displayer.js +83 -19
  37. package/lib/util/buffer_utils.js +3 -0
  38. package/lib/util/object_utils.js +1 -0
  39. package/lib/util/stream_utils.js +23 -3
  40. package/lib/util/string_utils.js +63 -16
  41. package/package.json +2 -2
  42. package/test/text/simple_text_displayer_unit.js +27 -0
  43. package/test/text/ui_text_displayer_unit.js +65 -0
  44. package/test/util/string_utils_unit.js +46 -8
  45. package/ui/text_selection.js +2 -2
@@ -1655,7 +1655,7 @@ declare namespace shaka.text {
1655
1655
  linePadding : any ;
1656
1656
  nestedCues : any ;
1657
1657
  opacity : any ;
1658
- payload : string ;
1658
+ payload : any ;
1659
1659
  position : any ;
1660
1660
  positionAlign : any ;
1661
1661
  region : any ;
@@ -1655,7 +1655,7 @@ declare namespace shaka.text {
1655
1655
  linePadding : any ;
1656
1656
  nestedCues : any ;
1657
1657
  opacity : any ;
1658
- payload : string ;
1658
+ payload : any ;
1659
1659
  position : any ;
1660
1660
  positionAlign : any ;
1661
1661
  region : any ;
@@ -586,7 +586,6 @@ shaka.text.Cue.prototype.direction;
586
586
  shaka.text.Cue.prototype.endTime;
587
587
  /**
588
588
  * @override
589
- * @type {string}
590
589
  */
591
590
  shaka.text.Cue.prototype.payload;
592
591
  /**
@@ -907,6 +906,7 @@ shaka.util.BufferUtils = class {
907
906
  * @param {?BufferSource} arr1
908
907
  * @param {?BufferSource} arr2
909
908
  * @return {boolean}
909
+ * @suppress {strictMissingProperties}
910
910
  */
911
911
  static equal(arr1, arr2) {}
912
912
  /**