shaka-player 4.7.3 → 4.7.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 (39) hide show
  1. package/README.md +3 -1
  2. package/dist/locales.js +32 -32
  3. package/dist/shaka-player.compiled.d.ts +4 -0
  4. package/dist/shaka-player.compiled.debug.d.ts +4 -0
  5. package/dist/shaka-player.compiled.debug.externs.js +5 -0
  6. package/dist/shaka-player.compiled.debug.js +121 -119
  7. package/dist/shaka-player.compiled.debug.map +3 -3
  8. package/dist/shaka-player.compiled.externs.js +5 -0
  9. package/dist/shaka-player.compiled.js +689 -687
  10. package/dist/shaka-player.compiled.map +3 -3
  11. package/dist/shaka-player.ui.d.ts +4 -0
  12. package/dist/shaka-player.ui.debug.d.ts +4 -0
  13. package/dist/shaka-player.ui.debug.externs.js +5 -0
  14. package/dist/shaka-player.ui.debug.js +145 -142
  15. package/dist/shaka-player.ui.debug.map +3 -3
  16. package/dist/shaka-player.ui.externs.js +5 -0
  17. package/dist/shaka-player.ui.js +831 -829
  18. package/dist/shaka-player.ui.map +3 -3
  19. package/lib/ads/client_side_ad.js +4 -2
  20. package/lib/ads/client_side_ad_manager.js +5 -3
  21. package/lib/cast/cast_proxy.js +18 -0
  22. package/lib/cea/cea608_memory.js +1 -1
  23. package/lib/cea/cea_decoder.js +1 -1
  24. package/lib/hls/hls_parser.js +16 -0
  25. package/lib/hls/hls_utils.js +5 -5
  26. package/lib/media/media_source_engine.js +4 -4
  27. package/lib/media/play_rate_controller.js +1 -0
  28. package/lib/media/presentation_timeline.js +11 -0
  29. package/lib/offline/session_deleter.js +0 -8
  30. package/lib/player.js +41 -6
  31. package/lib/polyfill/patchedmediakeys_apple.js +0 -6
  32. package/lib/text/ttml_text_parser.js +5 -0
  33. package/lib/text/vtt_text_parser.js +5 -0
  34. package/lib/util/language_utils.js +7 -8
  35. package/lib/util/periods.js +3 -1
  36. package/package.json +1 -1
  37. package/ui/play_button.js +17 -0
  38. package/ui/playback_rate_selection.js +4 -0
  39. package/ui/small_play_button.js +2 -2
@@ -1101,6 +1101,10 @@ declare namespace shaka.media {
1101
1101
  getSegmentAvailabilityStart ( ) : number ;
1102
1102
  isInProgress ( ) : boolean ;
1103
1103
  isLive ( ) : boolean ;
1104
+ /**
1105
+ * Returns if the presentation timeline's start time is locked.
1106
+ */
1107
+ isStartTimeLocked ( ) : boolean ;
1104
1108
  /**
1105
1109
  * Lock the presentation timeline's start time. After this is called, no
1106
1110
  * further adjustments to presentationStartTime_ will be permitted.
@@ -1101,6 +1101,10 @@ declare namespace shaka.media {
1101
1101
  getSegmentAvailabilityStart ( ) : number ;
1102
1102
  isInProgress ( ) : boolean ;
1103
1103
  isLive ( ) : boolean ;
1104
+ /**
1105
+ * Returns if the presentation timeline's start time is locked.
1106
+ */
1107
+ isStartTimeLocked ( ) : boolean ;
1104
1108
  /**
1105
1109
  * Lock the presentation timeline's start time. After this is called, no
1106
1110
  * further adjustments to presentationStartTime_ will be permitted.
@@ -2532,6 +2532,11 @@ shaka.media.PresentationTimeline = class {
2532
2532
  * windows to jump around on updates.
2533
2533
  */
2534
2534
  lockStartTime() {}
2535
+ /**
2536
+ * Returns if the presentation timeline's start time is locked.
2537
+ * @return {boolean}
2538
+ */
2539
+ isStartTimeLocked() {}
2535
2540
  /**
2536
2541
  * Gives PresentationTimeline a Stream's minimum segment start time.
2537
2542
  * @param {number} startTime