shaka-player 4.11.7 → 4.11.9

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
@@ -72,7 +72,7 @@ goog.addDependency('../../../../lib/media/adaptation_set_criteria.js', ['shaka.m
72
72
  goog.addDependency('../../../../lib/media/buffering_observer.js', ['shaka.media.BufferingObserver'], [], {'lang': 'es6'});
73
73
  goog.addDependency('../../../../lib/media/closed_caption_parser.js', ['shaka.media.ClosedCaptionParser', 'shaka.media.IClosedCaptionParser'], ['shaka.cea.DummyCaptionDecoder', 'shaka.cea.DummyCeaParser', 'shaka.log', 'shaka.util.BufferUtils'], {'lang': 'es6'});
74
74
  goog.addDependency('../../../../lib/media/content_workarounds.js', ['shaka.media.ContentWorkarounds'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.Lazy', 'shaka.util.Mp4Parser', 'shaka.util.Platform', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
75
- goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngine'], ['goog.asserts', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.transmuxer.TransmuxerEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.DrmUtils', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IDestroyable', 'shaka.util.Iterables', 'shaka.util.ManifestParserUtils', 'shaka.util.MapUtils', 'shaka.util.MimeUtils', 'shaka.util.ObjectUtils', 'shaka.util.Platform', 'shaka.util.Pssh', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es8'});
75
+ goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngine'], ['goog.asserts', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.DrmUtils', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IDestroyable', 'shaka.util.Iterables', 'shaka.util.ManifestParserUtils', 'shaka.util.MapUtils', 'shaka.util.ObjectUtils', 'shaka.util.Platform', 'shaka.util.Pssh', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es8'});
76
76
  goog.addDependency('../../../../lib/media/gap_jumping_controller.js', ['shaka.media.GapJumpingController'], ['shaka.log', 'shaka.media.PresentationTimeline', 'shaka.media.StallDetector', 'shaka.media.TimeRangesUtils', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IReleasable', 'shaka.util.Platform', 'shaka.util.Timer'], {'lang': 'es6'});
77
77
  goog.addDependency('../../../../lib/media/manifest_filterer.js', ['shaka.media.ManifestFilterer'], ['goog.asserts', 'shaka.media.DrmEngine', 'shaka.util.Error', 'shaka.util.StreamUtils'], {'lang': 'es8'});
78
78
  goog.addDependency('../../../../lib/media/manifest_parser.js', ['shaka.media.ManifestParser'], ['shaka.Deprecate', 'shaka.log', 'shaka.util.Error', 'shaka.util.Platform'], {'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
- AD_TIME: 'AD_TIME',
915
+ ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
916
+ PLAY: 'PLAY',
917
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
918
+ LOOP: 'LOOP',
919
+ UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
920
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
921
+ BACK: 'BACK',
922
+ TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
923
+ EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
924
+ MORE_SETTINGS: 'MORE_SETTINGS',
916
925
  DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
917
- CAPTIONS: 'CAPTIONS',
918
- SEEK: 'SEEK',
919
- AUTO_QUALITY: 'AUTO_QUALITY',
920
- ON: 'ON',
921
- REWIND: 'REWIND',
922
- MUTE: 'MUTE',
926
+ AD_TIME: 'AD_TIME',
927
+ AIRPLAY: 'AIRPLAY',
923
928
  EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
924
- SKIP_TO_LIVE: 'SKIP_TO_LIVE',
925
- LANGUAGE: 'LANGUAGE',
926
- REPLAY: 'REPLAY',
927
- UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
928
- AD_DURATION: 'AD_DURATION',
929
- QUALITY: 'QUALITY',
930
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
931
- PLAY: 'PLAY',
932
- AD_PROGRESS: 'AD_PROGRESS',
933
- ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
934
929
  RESOLUTION: 'RESOLUTION',
935
- UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
936
- VOLUME: 'VOLUME',
930
+ SURROUND: 'SURROUND',
931
+ AUTO_QUALITY: 'AUTO_QUALITY',
932
+ CAPTIONS: 'CAPTIONS',
933
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
934
+ MUTE: 'MUTE',
935
+ FAST_FORWARD: 'FAST_FORWARD',
937
936
  CAST: 'CAST',
937
+ REWIND: 'REWIND',
938
938
  LIVE: 'LIVE',
939
- PAUSE: 'PAUSE',
940
- MORE_SETTINGS: 'MORE_SETTINGS',
941
- SURROUND: 'SURROUND',
942
- SUBTITLE_FORCED: 'SUBTITLE_FORCED',
939
+ REPLAY: 'REPLAY',
940
+ STATISTICS: 'STATISTICS',
943
941
  OFF: 'OFF',
944
- RECENTER_VR: 'RECENTER_VR',
945
- FULL_SCREEN: 'FULL_SCREEN',
942
+ SKIP_TO_LIVE: 'SKIP_TO_LIVE',
943
+ LANGUAGE: 'LANGUAGE',
944
+ UNMUTE: 'UNMUTE',
946
945
  CHAPTERS: 'CHAPTERS',
947
- ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
948
- EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
949
- AIRPLAY: 'AIRPLAY',
950
- STATISTICS: 'STATISTICS',
951
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
952
- MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
953
- PLAYBACK_RATE: 'PLAYBACK_RATE',
946
+ ON: 'ON',
947
+ RECENTER_VR: 'RECENTER_VR',
948
+ VOLUME: 'VOLUME',
949
+ SUBTITLE_FORCED: 'SUBTITLE_FORCED',
954
950
  AD_STATISTICS: 'AD_STATISTICS',
955
- FAST_FORWARD: 'FAST_FORWARD',
956
- NOT_APPLICABLE: 'NOT_APPLICABLE',
951
+ AD_PROGRESS: 'AD_PROGRESS',
952
+ PAUSE: 'PAUSE',
953
+ PLAYBACK_RATE: 'PLAYBACK_RATE',
954
+ SEEK: 'SEEK',
955
+ AD_DURATION: 'AD_DURATION',
956
+ ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
957
+ UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
958
+ MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
959
+ QUALITY: 'QUALITY',
960
+ FULL_SCREEN: 'FULL_SCREEN',
957
961
  SKIP_AD: 'SKIP_AD',
958
- TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
959
- LOOP: 'LOOP',
960
- UNMUTE: 'UNMUTE',
961
- BACK: 'BACK',
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