shaka-player 3.3.16 → 3.3.18
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/.github/workflows/build-and-test.yaml +4 -4
- package/.github/workflows/demo-version-index.yaml +6 -0
- package/.github/workflows/selenium-lab-tests.yaml +72 -11
- package/.github/workflows/update-screenshots.yaml +142 -0
- package/CHANGELOG.md +38 -0
- package/demo/common/asset.js +15 -0
- package/demo/common/assets.js +4 -2
- package/demo/common/message_ids.js +1 -0
- package/demo/custom.js +19 -0
- package/demo/locales/en.json +1 -0
- package/demo/locales/source.json +4 -0
- package/demo/main.js +14 -0
- package/dist/demo.compiled.debug.js +146 -144
- package/dist/demo.compiled.debug.map +3 -3
- package/dist/demo.compiled.js +146 -144
- package/dist/demo.compiled.map +3 -3
- package/dist/deps.js +1 -1
- package/dist/locales.js +28 -28
- package/dist/receiver.compiled.debug.js +15 -15
- package/dist/receiver.compiled.debug.map +2 -2
- package/dist/receiver.compiled.js +15 -15
- package/dist/receiver.compiled.map +2 -2
- package/dist/shaka-player.compiled.d.ts +12 -0
- package/dist/shaka-player.compiled.debug.d.ts +12 -0
- package/dist/shaka-player.compiled.debug.externs.js +4 -0
- package/dist/shaka-player.compiled.debug.js +105 -100
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +4 -0
- package/dist/shaka-player.compiled.js +296 -292
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +12 -0
- package/dist/shaka-player.ui.debug.d.ts +12 -0
- package/dist/shaka-player.ui.debug.externs.js +4 -0
- package/dist/shaka-player.ui.debug.js +119 -114
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +4 -0
- package/dist/shaka-player.ui.js +311 -307
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/errors.md +94 -0
- package/docs/tutorials/index.json +2 -0
- package/docs/tutorials/widevine-service-certs.md +45 -0
- package/externs/ima.js +9 -0
- package/externs/shaka/text.js +7 -0
- package/lib/ads/client_side_ad_manager.js +6 -3
- package/lib/dash/segment_template.js +17 -5
- package/lib/hls/hls_parser.js +3 -1
- package/lib/media/transmuxer.js +13 -7
- package/lib/media/video_wrapper.js +3 -3
- package/lib/offline/indexeddb/storage_mechanism.js +1 -1
- package/lib/player.js +3 -1
- package/lib/polyfill/media_capabilities.js +3 -8
- package/lib/polyfill/mediasource.js +7 -2
- package/lib/text/cue.js +6 -0
- package/lib/text/ui_text_displayer.js +2 -5
- package/lib/text/vtt_text_parser.js +257 -93
- package/lib/util/mime_utils.js +1 -1
- package/lib/util/platform.js +8 -0
- package/lib/util/stream_utils.js +26 -14
- package/package.json +1 -1
- package/support.html +1 -0
- package/test/dash/dash_parser_manifest_unit.js +0 -36
- package/test/polyfill/media_capabilities_unit.js +20 -22
- package/test/test/util/layout_tests.js +433 -0
- package/test/test/util/util.js +0 -120
- package/test/{ui → text}/text_displayer_layout_unit.js +59 -235
- package/test/text/ui_text_displayer_unit.js +2 -4
- package/test/text/vtt_text_parser_unit.js +151 -6
- package/test/text/web_vtt_layout_integration.js +525 -0
|
@@ -1700,6 +1700,7 @@ declare namespace shaka.text {
|
|
|
1700
1700
|
startTime : any ;
|
|
1701
1701
|
textAlign : any ;
|
|
1702
1702
|
textDecoration : any ;
|
|
1703
|
+
textShadow : any ;
|
|
1703
1704
|
textStrokeColor : any ;
|
|
1704
1705
|
textStrokeWidth : any ;
|
|
1705
1706
|
wrapLine : any ;
|
|
@@ -3056,6 +3057,13 @@ declare namespace google.ima.dai.api {
|
|
|
3056
3057
|
}
|
|
3057
3058
|
}
|
|
3058
3059
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3060
|
+
declare namespace google.ima.dai.api.StreamRequest {
|
|
3061
|
+
enum StreamFormat {
|
|
3062
|
+
DASH = 'dash' ,
|
|
3063
|
+
HLS = 'hls' ,
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3059
3067
|
declare namespace google.ima {
|
|
3060
3068
|
let settings : google.ima.ImaSdkSettings ;
|
|
3061
3069
|
}
|
|
@@ -4055,6 +4063,10 @@ declare namespace shaka.extern {
|
|
|
4055
4063
|
* and line through. Empty array means no decoration.
|
|
4056
4064
|
*/
|
|
4057
4065
|
textDecoration : shaka.text.Cue.textDecoration [] ;
|
|
4066
|
+
/**
|
|
4067
|
+
* Text shadow color as a CSS text-shadow value.
|
|
4068
|
+
*/
|
|
4069
|
+
textShadow : string ;
|
|
4058
4070
|
/**
|
|
4059
4071
|
* Text stroke color as a CSS color, e.g. "#FFFFFF" or "white".
|
|
4060
4072
|
*/
|
|
@@ -1700,6 +1700,7 @@ declare namespace shaka.text {
|
|
|
1700
1700
|
startTime : any ;
|
|
1701
1701
|
textAlign : any ;
|
|
1702
1702
|
textDecoration : any ;
|
|
1703
|
+
textShadow : any ;
|
|
1703
1704
|
textStrokeColor : any ;
|
|
1704
1705
|
textStrokeWidth : any ;
|
|
1705
1706
|
wrapLine : any ;
|
|
@@ -3056,6 +3057,13 @@ declare namespace google.ima.dai.api {
|
|
|
3056
3057
|
}
|
|
3057
3058
|
}
|
|
3058
3059
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3060
|
+
declare namespace google.ima.dai.api.StreamRequest {
|
|
3061
|
+
enum StreamFormat {
|
|
3062
|
+
DASH = 'dash' ,
|
|
3063
|
+
HLS = 'hls' ,
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3059
3067
|
declare namespace google.ima {
|
|
3060
3068
|
let settings : google.ima.ImaSdkSettings ;
|
|
3061
3069
|
}
|
|
@@ -4055,6 +4063,10 @@ declare namespace shaka.extern {
|
|
|
4055
4063
|
* and line through. Empty array means no decoration.
|
|
4056
4064
|
*/
|
|
4057
4065
|
textDecoration : shaka.text.Cue.textDecoration [] ;
|
|
4066
|
+
/**
|
|
4067
|
+
* Text shadow color as a CSS text-shadow value.
|
|
4068
|
+
*/
|
|
4069
|
+
textShadow : string ;
|
|
4058
4070
|
/**
|
|
4059
4071
|
* Text stroke color as a CSS color, e.g. "#FFFFFF" or "white".
|
|
4060
4072
|
*/
|