shaka-player 4.10.12 → 4.10.13

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
@@ -51,7 +51,7 @@ goog.addDependency('../../../../lib/cea/ts_cea_parser.js', ['shaka.cea.TsCeaPars
51
51
  goog.addDependency('../../../../lib/config/auto_show_text.js', ['shaka.config.AutoShowText'], [], {'lang': 'es5'});
52
52
  goog.addDependency('../../../../lib/config/codec_switching_strategy.js', ['shaka.config.CodecSwitchingStrategy'], [], {'lang': 'es5'});
53
53
  goog.addDependency('../../../../lib/dash/content_protection.js', ['shaka.dash.ContentProtection'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.ManifestParserUtils', 'shaka.util.Pssh', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
54
- goog.addDependency('../../../../lib/dash/dash_parser.js', ['shaka.dash.DashParser'], ['goog.asserts', 'shaka.Deprecate', 'shaka.abr.Ewma', 'shaka.dash.ContentProtection', 'shaka.dash.MpdUtils', 'shaka.dash.SegmentBase', 'shaka.dash.SegmentList', 'shaka.dash.SegmentTemplate', 'shaka.log', 'shaka.media.Capabilities', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentUtils', 'shaka.net.NetworkingEngine', 'shaka.text.TextEngine', 'shaka.util.ContentSteeringManager', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Networking', 'shaka.util.OperationManager', 'shaka.util.PeriodCombiner', 'shaka.util.PlayerConfiguration', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.XmlUtils'], {'lang': 'es8'});
54
+ goog.addDependency('../../../../lib/dash/dash_parser.js', ['shaka.dash.DashParser'], ['goog.asserts', 'shaka.Deprecate', 'shaka.abr.Ewma', 'shaka.dash.ContentProtection', 'shaka.dash.MpdUtils', 'shaka.dash.SegmentBase', 'shaka.dash.SegmentList', 'shaka.dash.SegmentTemplate', 'shaka.log', 'shaka.media.Capabilities', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentUtils', 'shaka.net.NetworkingEngine', 'shaka.text.TextEngine', 'shaka.util.ContentSteeringManager', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Networking', 'shaka.util.ObjectUtils', 'shaka.util.OperationManager', 'shaka.util.PeriodCombiner', 'shaka.util.PlayerConfiguration', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.XmlUtils'], {'lang': 'es8'});
55
55
  goog.addDependency('../../../../lib/dash/mpd_utils.js', ['shaka.dash.MpdUtils'], ['goog.asserts', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.AbortableOperation', 'shaka.util.Error', 'shaka.util.Functional', 'shaka.util.ManifestParserUtils', 'shaka.util.TXml'], {'lang': 'es6'});
56
56
  goog.addDependency('../../../../lib/dash/segment_base.js', ['shaka.dash.SegmentBase'], ['goog.asserts', 'shaka.dash.MpdUtils', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.Mp4SegmentIndexParser', 'shaka.media.SegmentIndex', 'shaka.media.WebmSegmentIndexParser', 'shaka.util.Error', 'shaka.util.ManifestParserUtils', 'shaka.util.ObjectUtils', 'shaka.util.StringUtils', 'shaka.util.TXml'], {'lang': 'es8'});
57
57
  goog.addDependency('../../../../lib/dash/segment_list.js', ['shaka.dash.SegmentList'], ['goog.asserts', 'shaka.dash.MpdUtils', 'shaka.dash.SegmentBase', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.SegmentIndex', 'shaka.media.SegmentReference', 'shaka.util.Error', 'shaka.util.Functional', 'shaka.util.ManifestParserUtils', 'shaka.util.StringUtils', 'shaka.util.TXml'], {'lang': 'es6'});
@@ -223,7 +223,7 @@ goog.addDependency('../../../../lib/util/stats.js', ['shaka.util.Stats'], ['shak
223
223
  goog.addDependency('../../../../lib/util/stream_utils.js', ['shaka.util.StreamUtils'], ['goog.asserts', 'shaka.log', 'shaka.media.Capabilities', 'shaka.text.TextEngine', 'shaka.util.Functional', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.MultiMap', 'shaka.util.ObjectUtils', 'shaka.util.Platform'], {'lang': 'es8'});
224
224
  goog.addDependency('../../../../lib/util/string_utils.js', ['shaka.util.StringUtils'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.Lazy', 'shaka.util.Platform'], {'lang': 'es6'});
225
225
  goog.addDependency('../../../../lib/util/switch_history.js', ['shaka.util.SwitchHistory'], [], {'lang': 'es6'});
226
- goog.addDependency('../../../../lib/util/tXml.js', ['shaka.util.TXml'], ['shaka.log', 'shaka.util.StringUtils'], {'lang': 'es6'});
226
+ goog.addDependency('../../../../lib/util/tXml.js', ['shaka.util.TXml'], ['shaka.log', 'shaka.util.ObjectUtils', 'shaka.util.StringUtils'], {'lang': 'es6'});
227
227
  goog.addDependency('../../../../lib/util/text_parser.js', ['shaka.util.TextParser'], ['goog.asserts'], {'lang': 'es6'});
228
228
  goog.addDependency('../../../../lib/util/timer.js', ['shaka.util.Timer'], ['shaka.util.DelayedTick'], {'lang': 'es6'});
229
229
  goog.addDependency('../../../../lib/util/ts_parser.js', ['shaka.util.TsParser'], ['shaka.Deprecate', 'shaka.log', 'shaka.util.ExpGolomb', 'shaka.util.Id3Utils', 'shaka.util.StringUtils', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
package/dist/locales.js CHANGED
@@ -771,50 +771,50 @@ shaka.ui.Locales.addTo = function(localization) {
771
771
  * @const
772
772
  */
773
773
  shaka.ui.Locales.Ids = {
774
- SKIP_TO_LIVE: 'SKIP_TO_LIVE',
775
- QUALITY: 'QUALITY',
776
- SURROUND: 'SURROUND',
774
+ UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
775
+ STATISTICS: 'STATISTICS',
776
+ REWIND: 'REWIND',
777
+ MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
778
+ PLAY: 'PLAY',
779
+ LIVE: 'LIVE',
780
+ OFF: 'OFF',
777
781
  AD_TIME: 'AD_TIME',
778
- MORE_SETTINGS: 'MORE_SETTINGS',
779
- UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
780
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
782
+ TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
783
+ PAUSE: 'PAUSE',
784
+ FAST_FORWARD: 'FAST_FORWARD',
785
+ AD_PROGRESS: 'AD_PROGRESS',
786
+ MUTE: 'MUTE',
787
+ RESOLUTION: 'RESOLUTION',
788
+ AIRPLAY: 'AIRPLAY',
781
789
  PLAYBACK_RATE: 'PLAYBACK_RATE',
782
- MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
783
- SUBTITLE_FORCED: 'SUBTITLE_FORCED',
784
- NOT_APPLICABLE: 'NOT_APPLICABLE',
785
- VOLUME: 'VOLUME',
790
+ AD_STATISTICS: 'AD_STATISTICS',
791
+ QUALITY: 'QUALITY',
792
+ UNMUTE: 'UNMUTE',
793
+ SKIP_AD: 'SKIP_AD',
794
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
795
+ SEEK: 'SEEK',
796
+ LOOP: 'LOOP',
797
+ LANGUAGE: 'LANGUAGE',
786
798
  ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
787
799
  ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
788
- MUTE: 'MUTE',
789
- SEEK: 'SEEK',
790
- DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
791
- ON: 'ON',
792
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
793
- AUTO_QUALITY: 'AUTO_QUALITY',
794
- TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
795
- OFF: 'OFF',
796
- RECENTER_VR: 'RECENTER_VR',
797
- PLAY: 'PLAY',
798
- AD_DURATION: 'AD_DURATION',
799
- UNMUTE: 'UNMUTE',
800
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
801
+ CAPTIONS: 'CAPTIONS',
802
+ SURROUND: 'SURROUND',
803
+ CAST: 'CAST',
804
+ VOLUME: 'VOLUME',
800
805
  EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
801
- AD_PROGRESS: 'AD_PROGRESS',
806
+ BACK: 'BACK',
807
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
802
808
  FULL_SCREEN: 'FULL_SCREEN',
803
- SKIP_AD: 'SKIP_AD',
804
- AD_STATISTICS: 'AD_STATISTICS',
809
+ ON: 'ON',
810
+ SUBTITLE_FORCED: 'SUBTITLE_FORCED',
811
+ RECENTER_VR: 'RECENTER_VR',
812
+ SKIP_TO_LIVE: 'SKIP_TO_LIVE',
813
+ DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
814
+ MORE_SETTINGS: 'MORE_SETTINGS',
815
+ UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
816
+ AUTO_QUALITY: 'AUTO_QUALITY',
805
817
  EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
806
- CAST: 'CAST',
807
- BACK: 'BACK',
808
- CAPTIONS: 'CAPTIONS',
809
- RESOLUTION: 'RESOLUTION',
810
- REWIND: 'REWIND',
818
+ AD_DURATION: 'AD_DURATION',
811
819
  REPLAY: 'REPLAY',
812
- AIRPLAY: 'AIRPLAY',
813
- LANGUAGE: 'LANGUAGE',
814
- UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
815
- LOOP: 'LOOP',
816
- FAST_FORWARD: 'FAST_FORWARD',
817
- PAUSE: 'PAUSE',
818
- STATISTICS: 'STATISTICS',
819
- LIVE: 'LIVE',
820
820
  };
@@ -422,7 +422,7 @@ declare namespace shaka {
422
422
  * Trick play will be canceled automatically if the playhead hits the
423
423
  * beginning or end of the seekable range for the content.
424
424
  */
425
- trickPlay (rate : number ) : any ;
425
+ trickPlay (rate : number , useTrickPlayTrack ? : boolean ) : any ;
426
426
  /**
427
427
  * Unloads the currently playing stream, if any.
428
428
  */
@@ -422,7 +422,7 @@ declare namespace shaka {
422
422
  * Trick play will be canceled automatically if the playhead hits the
423
423
  * beginning or end of the seekable range for the content.
424
424
  */
425
- trickPlay (rate : number ) : any ;
425
+ trickPlay (rate : number , useTrickPlayTrack ? : boolean ) : any ;
426
426
  /**
427
427
  * Unloads the currently playing stream, if any.
428
428
  */
@@ -3491,8 +3491,9 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
3491
3491
  * Trick play will be canceled automatically if the playhead hits the
3492
3492
  * beginning or end of the seekable range for the content.
3493
3493
  * @param {number} rate
3494
+ * @param {boolean=} useTrickPlayTrack
3494
3495
  */
3495
- trickPlay(rate) {}
3496
+ trickPlay(rate, useTrickPlayTrack) {}
3496
3497
  /**
3497
3498
  * Cancel trick-play. If the player has not loaded content or is still loading
3498
3499
  * content this will be a no-op.