shaka-player 4.1.2 → 4.1.3

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 +16 -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 +79 -76
  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 +771 -769
  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 +92 -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 +905 -903
  26. package/dist/shaka-player.ui.map +3 -3
  27. package/docs/tutorials/ui.md +6 -6
  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 ;
@@ -587,7 +587,6 @@ shaka.text.Cue.prototype.direction;
587
587
  shaka.text.Cue.prototype.endTime;
588
588
  /**
589
589
  * @override
590
- * @type {string}
591
590
  */
592
591
  shaka.text.Cue.prototype.payload;
593
592
  /**
@@ -912,6 +911,7 @@ shaka.util.BufferUtils = class {
912
911
  * @param {?BufferSource} arr1
913
912
  * @param {?BufferSource} arr2
914
913
  * @return {boolean}
914
+ * @suppress {strictMissingProperties}
915
915
  */
916
916
  static equal(arr1, arr2) {}
917
917
  /**