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 +1 -0
- package/AUTHORS +1 -0
- package/CONTRIBUTORS +1 -0
- package/dist/locales.js +33 -33
- package/dist/shaka-player.compiled.d.ts +7 -7
- package/dist/shaka-player.compiled.debug.d.ts +7 -7
- package/dist/shaka-player.compiled.debug.js +143 -140
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +1252 -1252
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.d.ts +7 -7
- package/dist/shaka-player.ui.debug.d.ts +7 -7
- package/dist/shaka-player.ui.debug.js +133 -130
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +1451 -1451
- package/dist/shaka-player.ui.map +2 -2
- package/externs/shaka/abortable.js +36 -36
- package/lib/ads/interstitial_ad_manager.js +2 -0
- package/lib/hls/hls_parser.js +1 -1
- package/lib/media/drm_engine.js +2 -0
- package/lib/media/media_source_engine.js +61 -3
- package/lib/media/preload_manager.js +6 -1
- package/lib/media/segment_reference.js +1 -1
- package/lib/media/streaming_engine.js +9 -11
- package/lib/player.js +1 -1
- package/lib/polyfill/media_capabilities.js +46 -8
- package/lib/text/vtt_text_parser.js +2 -8
- package/lib/util/abortable_operation.js +8 -6
- package/lib/util/platform.js +18 -7
- package/package.json +2 -2
- package/ui/chapter_selection.js +6 -2
|
@@ -4634,6 +4634,13 @@ declare namespace shaka.extern {
|
|
|
4634
4634
|
* whereas aborting only means that further work is stopped.
|
|
4635
4635
|
*/
|
|
4636
4636
|
interface IAbortableOperation < T > {
|
|
4637
|
+
/**
|
|
4638
|
+
* A Promise which represents the underlying operation. It is resolved when
|
|
4639
|
+
* the operation is complete, and rejected if the operation fails or is
|
|
4640
|
+
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4641
|
+
* object using the error code OPERATION_ABORTED.
|
|
4642
|
+
*/
|
|
4643
|
+
promise : Promise < T > ;
|
|
4637
4644
|
/**
|
|
4638
4645
|
* Can be called by anyone holding this object to abort the underlying
|
|
4639
4646
|
* operation. This is not cancelation, and will not necessarily result in
|
|
@@ -4643,13 +4650,6 @@ declare namespace shaka.extern {
|
|
|
4643
4650
|
*/
|
|
4644
4651
|
abort ( ) : Promise < any > ;
|
|
4645
4652
|
finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
|
|
4646
|
-
/**
|
|
4647
|
-
* A Promise which represents the underlying operation. It is resolved when
|
|
4648
|
-
* the operation is complete, and rejected if the operation fails or is
|
|
4649
|
-
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4650
|
-
* object using the error code OPERATION_ABORTED.
|
|
4651
|
-
*/
|
|
4652
|
-
promise : Promise < T > ;
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
4655
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|
|
@@ -4634,6 +4634,13 @@ declare namespace shaka.extern {
|
|
|
4634
4634
|
* whereas aborting only means that further work is stopped.
|
|
4635
4635
|
*/
|
|
4636
4636
|
interface IAbortableOperation < T > {
|
|
4637
|
+
/**
|
|
4638
|
+
* A Promise which represents the underlying operation. It is resolved when
|
|
4639
|
+
* the operation is complete, and rejected if the operation fails or is
|
|
4640
|
+
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4641
|
+
* object using the error code OPERATION_ABORTED.
|
|
4642
|
+
*/
|
|
4643
|
+
promise : Promise < T > ;
|
|
4637
4644
|
/**
|
|
4638
4645
|
* Can be called by anyone holding this object to abort the underlying
|
|
4639
4646
|
* operation. This is not cancelation, and will not necessarily result in
|
|
@@ -4643,13 +4650,6 @@ declare namespace shaka.extern {
|
|
|
4643
4650
|
*/
|
|
4644
4651
|
abort ( ) : Promise < any > ;
|
|
4645
4652
|
finally (onFinal : (a : boolean ) => any ) : shaka.extern.IAbortableOperation < T > ;
|
|
4646
|
-
/**
|
|
4647
|
-
* A Promise which represents the underlying operation. It is resolved when
|
|
4648
|
-
* the operation is complete, and rejected if the operation fails or is
|
|
4649
|
-
* aborted. Aborted operations should be rejected with a shaka.util.Error
|
|
4650
|
-
* object using the error code OPERATION_ABORTED.
|
|
4651
|
-
*/
|
|
4652
|
-
promise : Promise < T > ;
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
4655
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
|