shaka-player 4.11.13 → 4.11.14

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/.eslintrc.js CHANGED
@@ -84,6 +84,7 @@ module.exports = {
84
84
  'no-empty': ['error', {'allowEmptyCatch': true}],
85
85
  'no-misleading-character-class': 'error',
86
86
  'no-template-curly-in-string': 'error',
87
+ 'no-fallthrough': ['error', {'allowEmptyCase': true}],
87
88
  // TODO: Try to re-enable this if possible. Right now, it produces way too
88
89
  // many false-positives with eslint 7. It worked well enough in eslint 5.
89
90
  // 'require-atomic-updates': 'error',
package/AUTHORS CHANGED
@@ -32,6 +32,7 @@ Cristian Atehortua <cristian25a32@gmail.com>
32
32
  Damien Deis <developer.deis@gmail.com>
33
33
  Dany L'Hébreux <danylhebreux@gmail.com>
34
34
  Dave Nicholas <davenicholasuk@gmail.com>
35
+ David Pfister <pfisterdd10@gmail.com>
35
36
  Davide Zordan <mail@davide.dev>
36
37
  Dl Dador <dldador@gmail.com>
37
38
  Edgeware AB <*@edgeware.tv>
package/CONTRIBUTORS CHANGED
@@ -48,6 +48,7 @@ Cristian Atehortua <cristian25a32@gmail.com>
48
48
  Damien Deis <developer.deis@gmail.com>
49
49
  Dany L'Hébreux <danylhebreux@gmail.com>
50
50
  Dave Nicholas <davenicholasuk@gmail.com>
51
+ David Pfister <pfisterdd10@gmail.com>
51
52
  Davide Zordan <mail@davide.dev>
52
53
  Dl Dador <dldador@gmail.com>
53
54
  Donato Borrello <donato@jwplayer.com>
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
- SURROUND: 'SURROUND',
916
- DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
915
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
917
916
  LIVE: 'LIVE',
918
- AD_PROGRESS: 'AD_PROGRESS',
919
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
920
- MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
921
- PLAYBACK_RATE: 'PLAYBACK_RATE',
917
+ REWIND: 'REWIND',
918
+ SKIP_TO_LIVE: 'SKIP_TO_LIVE',
922
919
  CAST: 'CAST',
920
+ SURROUND: 'SURROUND',
923
921
  LANGUAGE: 'LANGUAGE',
924
- ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
925
- MORE_SETTINGS: 'MORE_SETTINGS',
926
922
  AIRPLAY: 'AIRPLAY',
927
- FAST_FORWARD: 'FAST_FORWARD',
923
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
924
+ QUALITY: 'QUALITY',
925
+ UNMUTE: 'UNMUTE',
926
+ EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
927
+ FULL_SCREEN: 'FULL_SCREEN',
928
+ UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
929
+ CHAPTERS: 'CHAPTERS',
930
+ ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
928
931
  AD_DURATION: 'AD_DURATION',
932
+ MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
933
+ PLAY: 'PLAY',
934
+ FAST_FORWARD: 'FAST_FORWARD',
935
+ REPLAY: 'REPLAY',
936
+ SUBTITLE_FORCED: 'SUBTITLE_FORCED',
937
+ MORE_SETTINGS: 'MORE_SETTINGS',
938
+ AD_PROGRESS: 'AD_PROGRESS',
939
+ CAPTIONS: 'CAPTIONS',
940
+ PLAYBACK_RATE: 'PLAYBACK_RATE',
941
+ VOLUME: 'VOLUME',
942
+ AD_STATISTICS: 'AD_STATISTICS',
929
943
  LOOP: 'LOOP',
930
- OFF: 'OFF',
931
- NOT_APPLICABLE: 'NOT_APPLICABLE',
932
944
  EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
933
945
  RESOLUTION: 'RESOLUTION',
934
- RECENTER_VR: 'RECENTER_VR',
935
- SUBTITLE_FORCED: 'SUBTITLE_FORCED',
936
- AD_TIME: 'AD_TIME',
946
+ TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
937
947
  BACK: 'BACK',
938
- CHAPTERS: 'CHAPTERS',
939
- AD_STATISTICS: 'AD_STATISTICS',
940
- REWIND: 'REWIND',
948
+ STATISTICS: 'STATISTICS',
949
+ OFF: 'OFF',
941
950
  SEEK: 'SEEK',
942
- UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
943
- CAPTIONS: 'CAPTIONS',
944
- AUTO_QUALITY: 'AUTO_QUALITY',
945
- PAUSE: 'PAUSE',
951
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
952
+ ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
953
+ DOWNLOAD_VIDEO_FRAME: 'DOWNLOAD_VIDEO_FRAME',
946
954
  MUTE: 'MUTE',
947
- STATISTICS: 'STATISTICS',
948
- TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
949
955
  UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
956
+ AUTO_QUALITY: 'AUTO_QUALITY',
957
+ PAUSE: 'PAUSE',
958
+ RECENTER_VR: 'RECENTER_VR',
950
959
  ON: 'ON',
951
- UNMUTE: 'UNMUTE',
952
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
953
- EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
954
- QUALITY: 'QUALITY',
955
- VOLUME: 'VOLUME',
956
- ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
957
- FULL_SCREEN: 'FULL_SCREEN',
958
- REPLAY: 'REPLAY',
959
- PLAY: 'PLAY',
960
- SKIP_TO_LIVE: 'SKIP_TO_LIVE',
961
960
  SKIP_AD: 'SKIP_AD',
961
+ AD_TIME: 'AD_TIME',
962
962
  };
@@ -4048,6 +4048,13 @@ declare namespace shaka.extern {
4048
4048
  * whereas aborting only means that further work is stopped.
4049
4049
  */
4050
4050
  interface IAbortableOperation < T > {
4051
+ /**
4052
+ * A Promise which represents the underlying operation. It is resolved when
4053
+ * the operation is complete, and rejected if the operation fails or is
4054
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4055
+ * object using the error code OPERATION_ABORTED.
4056
+ */
4057
+ promise : Promise < T > ;
4051
4058
  /**
4052
4059
  * Can be called by anyone holding this object to abort the underlying
4053
4060
  * operation. This is not cancelation, and will not necessarily result in
@@ -4057,13 +4064,6 @@ declare namespace shaka.extern {
4057
4064
  */
4058
4065
  abort ( ) : Promise < any > ;
4059
4066
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4060
- /**
4061
- * A Promise which represents the underlying operation. It is resolved when
4062
- * the operation is complete, and rejected if the operation fails or is
4063
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4064
- * object using the error code OPERATION_ABORTED.
4065
- */
4066
- promise : Promise < T > ;
4067
4067
  }
4068
4068
  }
4069
4069
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
@@ -4048,6 +4048,13 @@ declare namespace shaka.extern {
4048
4048
  * whereas aborting only means that further work is stopped.
4049
4049
  */
4050
4050
  interface IAbortableOperation < T > {
4051
+ /**
4052
+ * A Promise which represents the underlying operation. It is resolved when
4053
+ * the operation is complete, and rejected if the operation fails or is
4054
+ * aborted. Aborted operations should be rejected with a shaka.util.Error
4055
+ * object using the error code OPERATION_ABORTED.
4056
+ */
4057
+ promise : Promise < T > ;
4051
4058
  /**
4052
4059
  * Can be called by anyone holding this object to abort the underlying
4053
4060
  * operation. This is not cancelation, and will not necessarily result in
@@ -4057,13 +4064,6 @@ declare namespace shaka.extern {
4057
4064
  */
4058
4065
  abort ( ) : Promise < any > ;
4059
4066
  finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
4060
- /**
4061
- * A Promise which represents the underlying operation. It is resolved when
4062
- * the operation is complete, and rejected if the operation fails or is
4063
- * aborted. Aborted operations should be rejected with a shaka.util.Error
4064
- * object using the error code OPERATION_ABORTED.
4065
- */
4066
- promise : Promise < T > ;
4067
4067
  }
4068
4068
  }
4069
4069
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js