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 +2 -2
- package/dist/locales.js +38 -38
- package/dist/shaka-player.compiled.d.ts +6 -0
- package/dist/shaka-player.compiled.debug.d.ts +6 -0
- package/dist/shaka-player.compiled.debug.externs.js +7 -0
- package/dist/shaka-player.compiled.debug.js +254 -257
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +7 -0
- package/dist/shaka-player.compiled.js +503 -501
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +6 -0
- package/dist/shaka-player.ui.debug.d.ts +6 -0
- package/dist/shaka-player.ui.debug.externs.js +7 -0
- package/dist/shaka-player.ui.debug.js +89 -92
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +7 -0
- package/dist/shaka-player.ui.js +533 -531
- package/dist/shaka-player.ui.map +3 -3
- package/lib/dash/dash_parser.js +39 -11
- package/lib/dash/segment_template.js +1 -1
- package/lib/media/drm_engine.js +11 -114
- package/lib/media/media_source_engine.js +19 -30
- package/lib/media/playhead.js +3 -1
- package/lib/player.js +7 -1
- package/lib/util/platform.js +3 -2
- package/lib/util/player_configuration.js +3 -1
- package/package.json +1 -1
- package/ui/externs/ui.js +2 -1
- package/ui/remote_button.js +3 -2
- package/ui/save_video_frame_button.js +3 -0
- package/ui/ui.js +6 -4
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.
|
|
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
|
-
|
|
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
|
-
|
|
918
|
-
|
|
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
|
-
|
|
936
|
-
|
|
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
|
-
|
|
940
|
-
|
|
941
|
-
SURROUND: 'SURROUND',
|
|
942
|
-
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
939
|
+
REPLAY: 'REPLAY',
|
|
940
|
+
STATISTICS: 'STATISTICS',
|
|
943
941
|
OFF: 'OFF',
|
|
944
|
-
|
|
945
|
-
|
|
942
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
943
|
+
LANGUAGE: 'LANGUAGE',
|
|
944
|
+
UNMUTE: 'UNMUTE',
|
|
946
945
|
CHAPTERS: 'CHAPTERS',
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
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
|
-
|
|
956
|
-
|
|
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
|