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 +2 -2
- package/dist/locales.js +35 -35
- 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 +249 -249
- package/dist/shaka-player.compiled.debug.map +2 -2
- package/dist/shaka-player.compiled.externs.js +7 -0
- package/dist/shaka-player.compiled.js +957 -955
- 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 +74 -74
- package/dist/shaka-player.ui.debug.map +2 -2
- package/dist/shaka-player.ui.externs.js +7 -0
- package/dist/shaka-player.ui.js +1239 -1237
- package/dist/shaka-player.ui.map +3 -3
- package/lib/dash/dash_parser.js +4 -2
- package/lib/dash/segment_template.js +1 -1
- package/lib/media/media_source_engine.js +19 -30
- package/lib/media/playhead.js +3 -1
- package/lib/media/preload_manager.js +5 -2
- package/lib/media/streaming_engine.js +16 -3
- package/lib/player.js +12 -7
- package/lib/polyfill/media_capabilities.js +8 -2
- package/lib/util/platform.js +3 -2
- package/lib/util/player_configuration.js +3 -1
- package/package.json +1 -1
- package/ui/remote_button.js +3 -2
- package/ui/save_video_frame_button.js +3 -0
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
|
-
|
|
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
|
-
|
|
939
|
-
|
|
940
|
-
|
|
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
|
-
|
|
949
|
-
|
|
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
|
-
|
|
953
|
-
RESOLUTION: 'RESOLUTION',
|
|
946
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
954
947
|
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
955
|
-
|
|
948
|
+
TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
|
|
956
949
|
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
957
|
-
|
|
958
|
-
|
|
950
|
+
SURROUND: 'SURROUND',
|
|
951
|
+
AD_STATISTICS: 'AD_STATISTICS',
|
|
952
|
+
LOOP: 'LOOP',
|
|
953
|
+
OFF: 'OFF',
|
|
954
|
+
ON: 'ON',
|
|
959
955
|
AIRPLAY: 'AIRPLAY',
|
|
960
|
-
|
|
961
|
-
|
|
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
|