shaka-player 4.7.3 → 4.7.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.
package/README.md CHANGED
@@ -303,7 +303,7 @@ Shaka Player supports:
303
303
 
304
304
 
305
305
  ## Content Steering support
306
- Shaka Player supports Content Steering (v1) in DASH.
306
+ Shaka Player supports Content Steering (v1) in DASH and HLS.
307
307
 
308
308
  Content Steering features supported:
309
309
  - TTL, if missing, the default value is 300 seconds.
@@ -317,6 +317,8 @@ Content Steering features **not** supported:
317
317
  ## Documentation & Important Links ##
318
318
 
319
319
  * [Demo](https://shaka-player-demo.appspot.com)([sources](demo/))
320
+ * [Nightly Demo](https://nightly-dot-shaka-player-demo.appspot.com)
321
+ * [Demo index](https://index-dot-shaka-player-demo.appspot.com)
320
322
  * [API documentation](https://shaka-player-demo.appspot.com/docs/api/index.html)
321
323
  * [Tutorials](https://shaka-player-demo.appspot.com/docs/api/tutorial-welcome.html)
322
324
  * [Hosted builds on Google Hosted Libraries](https://developers.google.com/speed/libraries/#shaka-player)
package/dist/locales.js CHANGED
@@ -724,46 +724,46 @@ shaka.ui.Locales.addTo = function(localization) {
724
724
  * @const
725
725
  */
726
726
  shaka.ui.Locales.Ids = {
727
- MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
728
- CAST: 'CAST',
729
- LOOP: 'LOOP',
730
- AD_TIME: 'AD_TIME',
731
- PLAY: 'PLAY',
732
- SEEK: 'SEEK',
733
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
734
- FULL_SCREEN: 'FULL_SCREEN',
735
- FAST_FORWARD: 'FAST_FORWARD',
727
+ ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
728
+ STATISTICS: 'STATISTICS',
729
+ QUALITY: 'QUALITY',
730
+ ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
736
731
  UNMUTE: 'UNMUTE',
737
- REWIND: 'REWIND',
738
- AUTO_QUALITY: 'AUTO_QUALITY',
732
+ UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
733
+ AD_DURATION: 'AD_DURATION',
734
+ AD_PROGRESS: 'AD_PROGRESS',
735
+ FULL_SCREEN: 'FULL_SCREEN',
736
+ MORE_SETTINGS: 'MORE_SETTINGS',
739
737
  SURROUND: 'SURROUND',
740
- PLAYBACK_RATE: 'PLAYBACK_RATE',
738
+ AUTO_QUALITY: 'AUTO_QUALITY',
739
+ LIVE: 'LIVE',
740
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
741
+ RESOLUTION: 'RESOLUTION',
742
+ UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
743
+ SEEK: 'SEEK',
744
+ EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
745
+ EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
746
+ MUTE: 'MUTE',
747
+ PAUSE: 'PAUSE',
748
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
749
+ CAPTIONS: 'CAPTIONS',
741
750
  ON: 'ON',
742
- MORE_SETTINGS: 'MORE_SETTINGS',
743
- OFF: 'OFF',
744
751
  SKIP_TO_LIVE: 'SKIP_TO_LIVE',
745
- MUTE: 'MUTE',
746
- SKIP_AD: 'SKIP_AD',
747
- AD_DURATION: 'AD_DURATION',
752
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
753
+ PLAYBACK_RATE: 'PLAYBACK_RATE',
748
754
  AIRPLAY: 'AIRPLAY',
755
+ OFF: 'OFF',
756
+ PLAY: 'PLAY',
757
+ CAST: 'CAST',
749
758
  LANGUAGE: 'LANGUAGE',
750
- CAPTIONS: 'CAPTIONS',
751
- RESOLUTION: 'RESOLUTION',
752
- UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
753
- ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
754
- REPLAY: 'REPLAY',
759
+ MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
760
+ REWIND: 'REWIND',
761
+ AD_TIME: 'AD_TIME',
755
762
  SUBTITLE_FORCED: 'SUBTITLE_FORCED',
756
- PAUSE: 'PAUSE',
757
- VOLUME: 'VOLUME',
758
- EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
759
- NOT_APPLICABLE: 'NOT_APPLICABLE',
760
- STATISTICS: 'STATISTICS',
761
- LIVE: 'LIVE',
762
- UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
763
- QUALITY: 'QUALITY',
764
- ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
765
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
766
- EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
767
- AD_PROGRESS: 'AD_PROGRESS',
763
+ LOOP: 'LOOP',
768
764
  BACK: 'BACK',
765
+ REPLAY: 'REPLAY',
766
+ VOLUME: 'VOLUME',
767
+ FAST_FORWARD: 'FAST_FORWARD',
768
+ SKIP_AD: 'SKIP_AD',
769
769
  };
@@ -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.
@@ -2420,6 +2420,11 @@ shaka.media.PresentationTimeline = class {
2420
2420
  * windows to jump around on updates.
2421
2421
  */
2422
2422
  lockStartTime() {}
2423
+ /**
2424
+ * Returns if the presentation timeline's start time is locked.
2425
+ * @return {boolean}
2426
+ */
2427
+ isStartTimeLocked() {}
2423
2428
  /**
2424
2429
  * Gives PresentationTimeline a Stream's minimum segment start time.
2425
2430
  * @param {number} startTime