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
@@ -61,7 +61,6 @@ shaka.text.Cue.prototype.direction;
61
61
  shaka.text.Cue.prototype.endTime;
62
62
  /**
63
63
  * @override
64
- * @type {string}
65
64
  */
66
65
  shaka.text.Cue.prototype.payload;
67
66
  /**
@@ -382,6 +381,7 @@ shaka.util.BufferUtils = class {
382
381
  * @param {?BufferSource} arr1
383
382
  * @param {?BufferSource} arr2
384
383
  * @return {boolean}
384
+ * @suppress {strictMissingProperties}
385
385
  */
386
386
  static equal(arr1, arr2) {}
387
387
  /**