shaka-player 4.12.2 → 4.12.4

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 (51) hide show
  1. package/.csslintrc +2 -1
  2. package/dist/controls.css +3 -3
  3. package/dist/controls.css.map +1 -1
  4. package/dist/deps.js +5 -4
  5. package/dist/locales.js +35 -35
  6. package/dist/shaka-player.compiled.d.ts +1 -1
  7. package/dist/shaka-player.compiled.debug.d.ts +1 -1
  8. package/dist/shaka-player.compiled.debug.js +299 -297
  9. package/dist/shaka-player.compiled.debug.map +4 -4
  10. package/dist/shaka-player.compiled.js +1287 -1282
  11. package/dist/shaka-player.compiled.map +4 -4
  12. package/dist/shaka-player.ui.d.ts +1 -1
  13. package/dist/shaka-player.ui.debug.d.ts +1 -1
  14. package/dist/shaka-player.ui.debug.js +302 -299
  15. package/dist/shaka-player.ui.debug.map +4 -4
  16. package/dist/shaka-player.ui.js +1515 -1510
  17. package/dist/shaka-player.ui.map +4 -4
  18. package/externs/managedmediasource.js +6 -0
  19. package/externs/shaka/ads.js +3 -0
  20. package/lib/ads/ad_utils.js +1 -0
  21. package/lib/ads/interstitial_ad.js +4 -2
  22. package/lib/ads/interstitial_ad_manager.js +79 -42
  23. package/lib/cast/cast_utils.js +4 -2
  24. package/lib/media/drm_engine.js +46 -6
  25. package/lib/media/media_source_capabilities.js +6 -8
  26. package/lib/media/media_source_engine.js +3 -4
  27. package/lib/media/preload_manager.js +9 -3
  28. package/lib/media/segment_utils.js +7 -3
  29. package/lib/net/http_xhr_plugin.js +1 -0
  30. package/lib/player.js +45 -39
  31. package/lib/text/vtt_text_parser.js +9 -4
  32. package/lib/util/abortable_operation.js +3 -0
  33. package/lib/util/buffer_utils.js +10 -8
  34. package/lib/util/functional.js +27 -0
  35. package/lib/util/mime_utils.js +2 -0
  36. package/lib/util/number_utils.js +37 -0
  37. package/lib/util/object_utils.js +1 -1
  38. package/lib/util/stream_utils.js +8 -1
  39. package/lib/util/uint8array_utils.js +3 -2
  40. package/package.json +2 -2
  41. package/ui/ad_position.js +2 -2
  42. package/ui/controls.js +5 -3
  43. package/ui/language_utils.js +3 -1
  44. package/ui/less/ad_controls.less +3 -3
  45. package/ui/less/buttons.less +4 -4
  46. package/ui/less/containers.less +7 -7
  47. package/ui/less/overflow_menu.less +4 -4
  48. package/ui/less/thumbnails.less +3 -3
  49. package/ui/less/tooltip.less +1 -1
  50. package/ui/play_button.js +5 -3
  51. package/ui/presentation_time.js +1 -1
@@ -4781,7 +4781,7 @@ declare namespace shaka.extern {
4781
4781
  }
4782
4782
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
4783
4783
  declare namespace shaka.extern {
4784
- type AdInterstitial = { canJump : boolean , endTime : number | null , id : string | null , isSkippable : boolean , once : boolean , playoutLimit : number | null , post : boolean , pre : boolean , resumeOffset : number | null , skipFor : number | null , skipOffset : number | null , startTime : number , timelineRange : boolean , uri : string } ;
4784
+ type AdInterstitial = { canJump : boolean , endTime : number | null , id : string | null , isSkippable : boolean , mimeType : string | null , once : boolean , playoutLimit : number | null , post : boolean , pre : boolean , resumeOffset : number | null , skipFor : number | null , skipOffset : number | null , startTime : number , timelineRange : boolean , uri : string } ;
4785
4785
  }
4786
4786
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
4787
4787
  declare namespace shaka.extern {
@@ -4781,7 +4781,7 @@ declare namespace shaka.extern {
4781
4781
  }
4782
4782
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
4783
4783
  declare namespace shaka.extern {
4784
- type AdInterstitial = { canJump : boolean , endTime : number | null , id : string | null , isSkippable : boolean , once : boolean , playoutLimit : number | null , post : boolean , pre : boolean , resumeOffset : number | null , skipFor : number | null , skipOffset : number | null , startTime : number , timelineRange : boolean , uri : string } ;
4784
+ type AdInterstitial = { canJump : boolean , endTime : number | null , id : string | null , isSkippable : boolean , mimeType : string | null , once : boolean , playoutLimit : number | null , post : boolean , pre : boolean , resumeOffset : number | null , skipFor : number | null , skipOffset : number | null , startTime : number , timelineRange : boolean , uri : string } ;
4785
4785
  }
4786
4786
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
4787
4787
  declare namespace shaka.extern {