shaka-player 4.10.7 → 4.10.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/locales.js +34 -34
- package/dist/shaka-player.compiled.d.ts +5 -0
- package/dist/shaka-player.compiled.debug.d.ts +5 -0
- package/dist/shaka-player.compiled.debug.externs.js +16 -0
- package/dist/shaka-player.compiled.debug.js +220 -217
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +16 -0
- package/dist/shaka-player.compiled.js +250 -246
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +5 -0
- package/dist/shaka-player.ui.debug.d.ts +5 -0
- package/dist/shaka-player.ui.debug.externs.js +16 -0
- package/dist/shaka-player.ui.debug.js +239 -236
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +16 -0
- package/dist/shaka-player.ui.js +346 -342
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/ads.js +5 -0
- package/externs/shaka/net.js +1 -0
- package/lib/ads/client_side_ad.js +8 -0
- package/lib/ads/interstitial_ad.js +7 -0
- package/lib/ads/interstitial_ad_manager.js +8 -6
- package/lib/ads/media_tailor_ad.js +7 -0
- package/lib/ads/server_side_ad.js +7 -0
- package/lib/dash/dash_parser.js +8 -4
- package/lib/hls/hls_parser.js +8 -2
- package/lib/media/adaptation_set.js +6 -0
- package/lib/media/streaming_engine.js +13 -16
- package/lib/player.js +6 -2
- package/lib/text/ui_text_displayer.js +37 -10
- package/lib/util/periods.js +1 -1
- package/lib/util/stream_utils.js +16 -8
- package/package.json +1 -1
- package/ui/seek_bar.js +1 -1
- package/ui/skip_ad_button.js +1 -1
|
@@ -754,6 +754,7 @@ declare namespace shaka.ads {
|
|
|
754
754
|
isMuted ( ) : any ;
|
|
755
755
|
isPaused ( ) : any ;
|
|
756
756
|
isSkippable ( ) : any ;
|
|
757
|
+
needsSkipUI ( ) : any ;
|
|
757
758
|
pause ( ) : any ;
|
|
758
759
|
play ( ) : any ;
|
|
759
760
|
release ( ) : any ;
|
|
@@ -791,6 +792,7 @@ declare namespace shaka.ads {
|
|
|
791
792
|
isMuted ( ) : any ;
|
|
792
793
|
isPaused ( ) : any ;
|
|
793
794
|
isSkippable ( ) : any ;
|
|
795
|
+
needsSkipUI ( ) : any ;
|
|
794
796
|
pause ( ) : any ;
|
|
795
797
|
play ( ) : any ;
|
|
796
798
|
release ( ) : any ;
|
|
@@ -828,6 +830,7 @@ declare namespace shaka.ads {
|
|
|
828
830
|
isMuted ( ) : any ;
|
|
829
831
|
isPaused ( ) : any ;
|
|
830
832
|
isSkippable ( ) : any ;
|
|
833
|
+
needsSkipUI ( ) : any ;
|
|
831
834
|
pause ( ) : any ;
|
|
832
835
|
play ( ) : any ;
|
|
833
836
|
release ( ) : any ;
|
|
@@ -865,6 +868,7 @@ declare namespace shaka.ads {
|
|
|
865
868
|
isMuted ( ) : any ;
|
|
866
869
|
isPaused ( ) : any ;
|
|
867
870
|
isSkippable ( ) : any ;
|
|
871
|
+
needsSkipUI ( ) : any ;
|
|
868
872
|
pause ( ) : any ;
|
|
869
873
|
play ( ) : any ;
|
|
870
874
|
release ( ) : any ;
|
|
@@ -4756,6 +4760,7 @@ declare namespace shaka.extern {
|
|
|
4756
4760
|
isMuted ( ) : boolean ;
|
|
4757
4761
|
isPaused ( ) : boolean ;
|
|
4758
4762
|
isSkippable ( ) : boolean ;
|
|
4763
|
+
needsSkipUI ( ) : boolean ;
|
|
4759
4764
|
pause ( ) : any ;
|
|
4760
4765
|
play ( ) : any ;
|
|
4761
4766
|
resize (width : number , height : number ) : any ;
|
|
@@ -754,6 +754,7 @@ declare namespace shaka.ads {
|
|
|
754
754
|
isMuted ( ) : any ;
|
|
755
755
|
isPaused ( ) : any ;
|
|
756
756
|
isSkippable ( ) : any ;
|
|
757
|
+
needsSkipUI ( ) : any ;
|
|
757
758
|
pause ( ) : any ;
|
|
758
759
|
play ( ) : any ;
|
|
759
760
|
release ( ) : any ;
|
|
@@ -791,6 +792,7 @@ declare namespace shaka.ads {
|
|
|
791
792
|
isMuted ( ) : any ;
|
|
792
793
|
isPaused ( ) : any ;
|
|
793
794
|
isSkippable ( ) : any ;
|
|
795
|
+
needsSkipUI ( ) : any ;
|
|
794
796
|
pause ( ) : any ;
|
|
795
797
|
play ( ) : any ;
|
|
796
798
|
release ( ) : any ;
|
|
@@ -828,6 +830,7 @@ declare namespace shaka.ads {
|
|
|
828
830
|
isMuted ( ) : any ;
|
|
829
831
|
isPaused ( ) : any ;
|
|
830
832
|
isSkippable ( ) : any ;
|
|
833
|
+
needsSkipUI ( ) : any ;
|
|
831
834
|
pause ( ) : any ;
|
|
832
835
|
play ( ) : any ;
|
|
833
836
|
release ( ) : any ;
|
|
@@ -865,6 +868,7 @@ declare namespace shaka.ads {
|
|
|
865
868
|
isMuted ( ) : any ;
|
|
866
869
|
isPaused ( ) : any ;
|
|
867
870
|
isSkippable ( ) : any ;
|
|
871
|
+
needsSkipUI ( ) : any ;
|
|
868
872
|
pause ( ) : any ;
|
|
869
873
|
play ( ) : any ;
|
|
870
874
|
release ( ) : any ;
|
|
@@ -4756,6 +4760,7 @@ declare namespace shaka.extern {
|
|
|
4756
4760
|
isMuted ( ) : boolean ;
|
|
4757
4761
|
isPaused ( ) : boolean ;
|
|
4758
4762
|
isSkippable ( ) : boolean ;
|
|
4763
|
+
needsSkipUI ( ) : boolean ;
|
|
4759
4764
|
pause ( ) : any ;
|
|
4760
4765
|
play ( ) : any ;
|
|
4761
4766
|
resize (width : number , height : number ) : any ;
|
|
@@ -3900,6 +3900,10 @@ shaka.ads.ClientSideAd = class {
|
|
|
3900
3900
|
* @param {HTMLMediaElement} video
|
|
3901
3901
|
*/
|
|
3902
3902
|
constructor(imaAd, imaAdManager, video) {}
|
|
3903
|
+
/**
|
|
3904
|
+
* @override
|
|
3905
|
+
*/
|
|
3906
|
+
needsSkipUI() {}
|
|
3903
3907
|
/**
|
|
3904
3908
|
* @override
|
|
3905
3909
|
*/
|
|
@@ -4215,6 +4219,10 @@ shaka.ads.InterstitialAd = class {
|
|
|
4215
4219
|
* @param {number} adPosition
|
|
4216
4220
|
*/
|
|
4217
4221
|
constructor(video, isSkippable, onSkip, sequenceLength, adPosition) {}
|
|
4222
|
+
/**
|
|
4223
|
+
* @override
|
|
4224
|
+
*/
|
|
4225
|
+
needsSkipUI() {}
|
|
4218
4226
|
/**
|
|
4219
4227
|
* @override
|
|
4220
4228
|
*/
|
|
@@ -4347,6 +4355,10 @@ shaka.ads.MediaTailorAd = class {
|
|
|
4347
4355
|
* @param {HTMLMediaElement} video
|
|
4348
4356
|
*/
|
|
4349
4357
|
constructor(mediaTailorAd, adPosition, totalAds, isLinear, video) {}
|
|
4358
|
+
/**
|
|
4359
|
+
* @override
|
|
4360
|
+
*/
|
|
4361
|
+
needsSkipUI() {}
|
|
4350
4362
|
/**
|
|
4351
4363
|
* @override
|
|
4352
4364
|
*/
|
|
@@ -4477,6 +4489,10 @@ shaka.ads.ServerSideAd = class {
|
|
|
4477
4489
|
* @param {HTMLMediaElement} video
|
|
4478
4490
|
*/
|
|
4479
4491
|
constructor(imaAd, video) {}
|
|
4492
|
+
/**
|
|
4493
|
+
* @override
|
|
4494
|
+
*/
|
|
4495
|
+
needsSkipUI() {}
|
|
4480
4496
|
/**
|
|
4481
4497
|
* @override
|
|
4482
4498
|
*/
|