shaka-player 4.11.6 → 4.11.8

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/dist/deps.js CHANGED
@@ -130,7 +130,7 @@ goog.addDependency('../../../../lib/polyfill/all.js', ['shaka.polyfill'], ['shak
130
130
  goog.addDependency('../../../../lib/polyfill/aria.js', ['shaka.polyfill.Aria'], ['shaka.log', 'shaka.polyfill'], {'lang': 'es6'});
131
131
  goog.addDependency('../../../../lib/polyfill/encryption_scheme.js', ['shaka.polyfill.EncryptionScheme'], ['shaka.polyfill', 'shaka.util.Platform'], {'lang': 'es6'});
132
132
  goog.addDependency('../../../../lib/polyfill/fullscreen.js', ['shaka.polyfill.Fullscreen'], ['shaka.polyfill'], {'lang': 'es6'});
133
- goog.addDependency('../../../../lib/polyfill/media_capabilities.js', ['shaka.polyfill.MediaCapabilities'], ['shaka.log', 'shaka.media.Capabilities', 'shaka.polyfill', 'shaka.util.DrmUtils', 'shaka.util.Platform'], {'lang': 'es8'});
133
+ goog.addDependency('../../../../lib/polyfill/media_capabilities.js', ['shaka.polyfill.MediaCapabilities'], ['shaka.log', 'shaka.media.Capabilities', 'shaka.polyfill', 'shaka.util.DrmUtils', 'shaka.util.MimeUtils', 'shaka.util.Platform'], {'lang': 'es8'});
134
134
  goog.addDependency('../../../../lib/polyfill/mediasource.js', ['shaka.polyfill.MediaSource'], ['shaka.log', 'shaka.polyfill', 'shaka.util.MimeUtils', 'shaka.util.Platform'], {'lang': 'es6'});
135
135
  goog.addDependency('../../../../lib/polyfill/orientation.js', ['shaka.polyfill.Orientation'], ['shaka.log', 'shaka.polyfill', 'shaka.util.FakeEvent', 'shaka.util.FakeEventTarget'], {'lang': 'es6'});
136
136
  goog.addDependency('../../../../lib/polyfill/patchedmediakeys_apple.js', ['shaka.polyfill.PatchedMediaKeysApple'], ['goog.asserts', 'shaka.log', 'shaka.polyfill', 'shaka.util.BufferUtils', 'shaka.util.DrmUtils', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.FakeEventTarget', 'shaka.util.MediaReadyState', 'shaka.util.PublicPromise', 'shaka.util.StringUtils'], {'lang': 'es6'});
@@ -214,7 +214,7 @@ goog.addDependency('../../../../lib/util/object_utils.js', ['shaka.util.ObjectUt
214
214
  goog.addDependency('../../../../lib/util/operation_manager.js', ['shaka.util.OperationManager'], ['shaka.util.ArrayUtils', 'shaka.util.IDestroyable'], {'lang': 'es6'});
215
215
  goog.addDependency('../../../../lib/util/periods.js', ['shaka.util.PeriodCombiner'], ['goog.asserts', 'shaka.log', 'shaka.media.MetaSegmentIndex', 'shaka.media.SegmentIndex', 'shaka.util.DrmUtils', 'shaka.util.Error', 'shaka.util.IReleasable', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils'], {'lang': 'es8'});
216
216
  goog.addDependency('../../../../lib/util/platform.js', ['shaka.util.Platform'], ['shaka.log', 'shaka.util.DrmUtils', 'shaka.util.Timer'], {'lang': 'es8'});
217
- goog.addDependency('../../../../lib/util/player_configuration.js', ['shaka.util.PlayerConfiguration'], ['goog.asserts', 'shaka.abr.SimpleAbrManager', 'shaka.config.AutoShowText', 'shaka.config.CodecSwitchingStrategy', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.ConfigUtils', 'shaka.util.FairPlayUtils', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.Platform'], {'lang': 'es8'});
217
+ goog.addDependency('../../../../lib/util/player_configuration.js', ['shaka.util.PlayerConfiguration'], ['goog.asserts', 'shaka.abr.SimpleAbrManager', 'shaka.config.AutoShowText', 'shaka.config.CodecSwitchingStrategy', 'shaka.log', 'shaka.media.Capabilities', 'shaka.net.NetworkingEngine', 'shaka.util.ConfigUtils', 'shaka.util.FairPlayUtils', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.Platform'], {'lang': 'es8'});
218
218
  goog.addDependency('../../../../lib/util/pssh.js', ['shaka.util.Pssh'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Mp4Parser', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
219
219
  goog.addDependency('../../../../lib/util/public_promise.js', ['shaka.util.PublicPromise'], [], {'lang': 'es6'});
220
220
  goog.addDependency('../../../../lib/util/state_history.js', ['shaka.util.StateHistory'], ['goog.asserts', 'shaka.log'], {'lang': 'es6'});
package/dist/locales.js CHANGED
@@ -912,51 +912,51 @@ shaka.ui.Locales.addTo = function(localization) {
912
912
  * @const
913
913
  */
914
914
  shaka.ui.Locales.Ids = {
915
+ SKIP_TO_LIVE: 'SKIP_TO_LIVE',
916
+ MORE_SETTINGS: 'MORE_SETTINGS',
917
+ FAST_FORWARD: 'FAST_FORWARD',
918
+ MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
919
+ ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
920
+ BACK: 'BACK',
921
+ MUTE: 'MUTE',
915
922
  CAST: 'CAST',
916
923
  SEEK: 'SEEK',
924
+ UNMUTE: 'UNMUTE',
925
+ VOLUME: 'VOLUME',
926
+ FULL_SCREEN: 'FULL_SCREEN',
917
927
  LIVE: 'LIVE',
918
- OFF: 'OFF',
919
- RECENTER_VR: 'RECENTER_VR',
920
- NOT_APPLICABLE: 'NOT_APPLICABLE',
921
- UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
922
- MORE_SETTINGS: 'MORE_SETTINGS',
928
+ AUTO_QUALITY: 'AUTO_QUALITY',
923
929
  PAUSE: 'PAUSE',
924
- PLAY: 'PLAY',
925
- PLAYBACK_RATE: 'PLAYBACK_RATE',
926
- SKIP_TO_LIVE: 'SKIP_TO_LIVE',
927
- ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
928
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
929
- QUALITY: 'QUALITY',
930
- CAPTIONS: 'CAPTIONS',
931
- TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
932
- SKIP_AD: 'SKIP_AD',
933
- REPLAY: 'REPLAY',
934
- SURROUND: 'SURROUND',
935
- ON: 'ON',
936
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
937
930
  SUBTITLE_FORCED: 'SUBTITLE_FORCED',
938
- FAST_FORWARD: 'FAST_FORWARD',
939
- AD_STATISTICS: 'AD_STATISTICS',
940
- EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
941
- LANGUAGE: 'LANGUAGE',
942
- BACK: 'BACK',
943
- MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
931
+ ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
932
+ UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
933
+ DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
944
934
  STATISTICS: 'STATISTICS',
945
- LOOP: 'LOOP',
946
- CHAPTERS: 'CHAPTERS',
947
935
  REWIND: 'REWIND',
948
- AD_PROGRESS: 'AD_PROGRESS',
949
- FULL_SCREEN: 'FULL_SCREEN',
936
+ PLAYBACK_RATE: 'PLAYBACK_RATE',
937
+ CAPTIONS: 'CAPTIONS',
938
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
950
939
  AD_DURATION: 'AD_DURATION',
940
+ CHAPTERS: 'CHAPTERS',
941
+ PLAY: 'PLAY',
942
+ SKIP_AD: 'SKIP_AD',
943
+ RECENTER_VR: 'RECENTER_VR',
944
+ REPLAY: 'REPLAY',
951
945
  AD_TIME: 'AD_TIME',
952
- MUTE: 'MUTE',
953
- RESOLUTION: 'RESOLUTION',
946
+ AD_PROGRESS: 'AD_PROGRESS',
954
947
  EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
955
- VOLUME: 'VOLUME',
948
+ TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
956
949
  UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
957
- DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
958
- ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
950
+ SURROUND: 'SURROUND',
951
+ AD_STATISTICS: 'AD_STATISTICS',
952
+ LOOP: 'LOOP',
953
+ OFF: 'OFF',
954
+ ON: 'ON',
959
955
  AIRPLAY: 'AIRPLAY',
960
- AUTO_QUALITY: 'AUTO_QUALITY',
961
- UNMUTE: 'UNMUTE',
956
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
957
+ RESOLUTION: 'RESOLUTION',
958
+ QUALITY: 'QUALITY',
959
+ LANGUAGE: 'LANGUAGE',
960
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
961
+ EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
962
962
  };
@@ -163,6 +163,12 @@ declare namespace shaka {
163
163
  * loaded content, this will return <code>Infinity</code>.
164
164
  */
165
165
  getExpiration ( ) : number ;
166
+ /**
167
+ * Gets information about the currently fetched video, audio, and text.
168
+ * In the case of a multi-codec or multi-mimeType manifest, this can let you
169
+ * determine the exact codecs and mimeTypes being fetched at the moment.
170
+ */
171
+ getFetchedPlaybackInfo ( ) : shaka.extern.PlaybackInfo ;
166
172
  /**
167
173
  * Return a list of image tracks that can be switched to.
168
174
  * If the player has not loaded content, this will return an empty list.
@@ -163,6 +163,12 @@ declare namespace shaka {
163
163
  * loaded content, this will return <code>Infinity</code>.
164
164
  */
165
165
  getExpiration ( ) : number ;
166
+ /**
167
+ * Gets information about the currently fetched video, audio, and text.
168
+ * In the case of a multi-codec or multi-mimeType manifest, this can let you
169
+ * determine the exact codecs and mimeTypes being fetched at the moment.
170
+ */
171
+ getFetchedPlaybackInfo ( ) : shaka.extern.PlaybackInfo ;
166
172
  /**
167
173
  * Return a list of image tracks that can be switched to.
168
174
  * If the player has not loaded content, this will return an empty list.
@@ -3784,6 +3784,13 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
3784
3784
  * @return {?shaka.extern.ManifestParser.Factory}
3785
3785
  */
3786
3786
  getManifestParserFactory() {}
3787
+ /**
3788
+ * Gets information about the currently fetched video, audio, and text.
3789
+ * In the case of a multi-codec or multi-mimeType manifest, this can let you
3790
+ * determine the exact codecs and mimeTypes being fetched at the moment.
3791
+ * @return {!shaka.extern.PlaybackInfo}
3792
+ */
3793
+ getFetchedPlaybackInfo() {}
3787
3794
  /**
3788
3795
  * Set the videoContainer to construct UITextDisplayer.
3789
3796
  * @param {HTMLElement} videoContainer