shaka-player 4.1.1 → 4.1.4
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 +67 -15
- package/.github/workflows/compute-incremental-coverage.py +251 -0
- package/.github/workflows/report-incremental-coverage.yaml +39 -0
- package/.github/workflows/selenium-lab-tests.yaml +179 -31
- package/AUTHORS +1 -0
- package/CHANGELOG.md +40 -0
- package/CONTRIBUTORS +3 -0
- package/README.md +20 -6
- package/demo/index.html +1 -3
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/deps.js +3 -3
- package/dist/locales.js +33 -33
- package/dist/shaka-player.compiled.d.ts +12 -1
- package/dist/shaka-player.compiled.debug.d.ts +12 -1
- package/dist/shaka-player.compiled.debug.externs.js +49 -38
- package/dist/shaka-player.compiled.debug.js +173 -165
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +49 -38
- package/dist/shaka-player.compiled.js +789 -785
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +12 -1
- package/dist/shaka-player.ui.debug.d.ts +12 -1
- package/dist/shaka-player.ui.debug.externs.js +49 -38
- package/dist/shaka-player.ui.debug.js +187 -179
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +49 -38
- package/dist/shaka-player.ui.js +916 -912
- package/dist/shaka-player.ui.map +4 -4
- package/docs/tutorials/ui.md +6 -6
- package/docs/tutorials/upgrade.md +1 -0
- package/docs/tutorials/welcome.md +6 -3
- package/karma.conf.js +3 -11
- package/lib/ads/client_side_ad_manager.js +1 -1
- package/lib/dash/dash_parser.js +5 -0
- package/lib/hls/hls_parser.js +6 -2
- package/lib/media/drm_engine.js +1 -1
- package/lib/media/media_source_engine.js +57 -24
- package/lib/media/presentation_timeline.js +24 -1
- package/lib/media/streaming_engine.js +4 -4
- package/lib/media/time_ranges_utils.js +46 -0
- package/lib/player.js +13 -6
- package/lib/polyfill/media_capabilities.js +9 -0
- package/lib/polyfill/videoplaybackquality.js +3 -1
- package/lib/text/cue.js +0 -5
- package/lib/text/simple_text_displayer.js +21 -9
- package/lib/text/ui_text_displayer.js +91 -19
- package/lib/util/buffer_utils.js +3 -0
- package/lib/util/object_utils.js +1 -0
- package/lib/util/platform.js +19 -1
- package/lib/util/player_configuration.js +1 -0
- package/lib/util/stream_utils.js +23 -3
- package/lib/util/string_utils.js +102 -13
- package/maintained-branches.md +15 -0
- package/package.json +3 -5
- package/test/media/drm_engine_integration.js +24 -8
- package/test/media/drm_engine_unit.js +29 -0
- package/test/media/media_source_engine_integration.js +24 -10
- package/test/media/media_source_engine_unit.js +53 -38
- package/test/media/streaming_engine_unit.js +28 -27
- package/test/player_src_equals_integration.js +2 -0
- package/test/player_unit.js +39 -1
- package/test/test/assets/small.mp4 +0 -0
- package/test/test/util/fake_media_source_engine.js +10 -9
- package/test/text/simple_text_displayer_unit.js +27 -0
- package/test/text/ui_text_displayer_unit.js +65 -0
- package/test/util/string_utils_unit.js +46 -8
- package/ui/less/ad_controls.less +4 -0
- package/ui/text_selection.js +2 -2
- package/app-engine/README.md +0 -9
- package/app-engine/demo-version-index/README.md +0 -14
- package/app-engine/demo-version-index/app.yaml +0 -28
- package/app-engine/demo-version-index/generate.py +0 -164
- package/app-engine/demo-version-index/main.py +0 -11
- package/app-engine/demo-version-index/requirements.txt +0 -5
- package/app-engine/demo-version-index/templates/index.html +0 -114
- package/app-engine/shaka-player-demo/README.md +0 -18
- package/app-engine/shaka-player-demo/app.yaml +0 -61
- package/app-engine/shaka-player-demo/main.py +0 -95
- package/app-engine/shaka-player-demo/posters/10yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/10yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/1yo.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/2yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/2yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/3yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/3yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/4yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/4yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/5yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/5yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/6yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/6yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/7yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/7yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/8yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/8yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/9yo.png +0 -0
- package/app-engine/shaka-player-demo/posters/9yo.xcf +0 -0
- package/app-engine/shaka-player-demo/posters/audioOnly.gif +0 -0
- package/app-engine/shaka-player-demo/posters/audioRickRoll.gif +0 -0
- package/app-engine/shaka-player-demo/posters/colorbars.gif +0 -0
- package/app-engine/shaka-player-demo/posters/fireworks.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/party-hat.png +0 -0
- package/app-engine/shaka-player-demo/posters/sources.txt +0 -46
- package/app-engine/shaka-player-demo/posters/standard.png +0 -0
- package/app-engine/shaka-player-demo/posters/trek.jpg +0 -0
- package/app-engine/shaka-player-demo/posters/valentines.png +0 -0
- package/app-engine/shaka-player-demo/posters/zombie.jpg +0 -0
- package/app-engine/shaka-player-demo/posters.py +0 -110
- package/app-engine/shaka-player-demo/requirements.txt +0 -5
- package/app-engine/shaka-player-demo/time.txt +0 -1
- package/build/README.md +0 -127
- package/build/__init__.py +0 -0
- package/build/all.py +0 -150
- package/build/apps.py +0 -186
- package/build/build.py +0 -392
- package/build/check.py +0 -354
- package/build/checkversion.py +0 -84
- package/build/compiler.py +0 -513
- package/build/conformance.textproto +0 -335
- package/build/docker/Dockerfile +0 -20
- package/build/docker/docker-compose.yml +0 -10
- package/build/docs.py +0 -54
- package/build/eslint-plugin-shaka-rules/arg-comment-spacing.js +0 -72
- package/build/eslint-plugin-shaka-rules/index.js +0 -24
- package/build/eslint-plugin-shaka-rules/package.json +0 -7
- package/build/eslint-plugin-shaka-rules/private.js +0 -109
- package/build/gendeps.py +0 -71
- package/build/generateExterns.js +0 -867
- package/build/generateLocalizations.py +0 -262
- package/build/generateTsDefs.py +0 -137
- package/build/install-linux-prereqs.sh +0 -136
- package/build/license-header +0 -5
- package/build/misspellings.txt +0 -39
- package/build/pixelsChanged.js +0 -35
- package/build/shaka-lab.yaml +0 -161
- package/build/shakaBuildHelpers.py +0 -356
- package/build/stats.py +0 -816
- package/build/subprocessWindowsPatch.py +0 -103
- package/build/test.py +0 -541
- package/build/types/ads +0 -8
- package/build/types/cast +0 -6
- package/build/types/cea +0 -13
- package/build/types/complete +0 -9
- package/build/types/core +0 -108
- package/build/types/dash +0 -8
- package/build/types/hls +0 -9
- package/build/types/manifests +0 -5
- package/build/types/networking +0 -6
- package/build/types/offline +0 -22
- package/build/types/polyfill +0 -18
- package/build/types/text +0 -11
- package/build/types/ui +0 -39
- package/build/updateScreenshots.py +0 -85
- package/build/wrapper.template.js +0 -52
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.1.4](https://github.com/shaka-project/shaka-player/compare/v4.1.3...v4.1.4) (2022-08-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Fix bitmap-based cue size ([#4453](https://github.com/shaka-project/shaka-player/issues/4453)) ([3c5a07f](https://github.com/shaka-project/shaka-player/commit/3c5a07f0259145bdce0c94f90b842de28026d6fa))
|
|
9
|
+
* Fix drm.keySystemsMapping config ([#4425](https://github.com/shaka-project/shaka-player/issues/4425)) ([1aab613](https://github.com/shaka-project/shaka-player/commit/1aab6130690eab0cc148ba8f05e483e4fc8db716)), closes [#4422](https://github.com/shaka-project/shaka-player/issues/4422)
|
|
10
|
+
* Fix vanishing tracks while offline ([#4426](https://github.com/shaka-project/shaka-player/issues/4426)) ([186d298](https://github.com/shaka-project/shaka-player/commit/186d298b00475818f744925cb3828bfa11c43c0b)), closes [#4408](https://github.com/shaka-project/shaka-player/issues/4408)
|
|
11
|
+
* return width and height in the stats when we are using src= ([#4435](https://github.com/shaka-project/shaka-player/issues/4435)) ([1eff9ed](https://github.com/shaka-project/shaka-player/commit/1eff9ed022950a2ef8722768da02ad96ef1ff821))
|
|
12
|
+
* **UI:** Ad position and ad counter are too close to each other ([#4416](https://github.com/shaka-project/shaka-player/issues/4416)) ([5f5c7c3](https://github.com/shaka-project/shaka-player/commit/5f5c7c35853e27b088af2840ab986f90c8d3bbb5))
|
|
13
|
+
|
|
14
|
+
## [4.1.3](https://github.com/shaka-project/shaka-player/compare/v4.1.2...v4.1.3) (2022-08-16)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* add strictMissingProperties suppressions to unblock strict missing properties on union types. ([#4371](https://github.com/shaka-project/shaka-player/issues/4371)) ([e055893](https://github.com/shaka-project/shaka-player/commit/e055893eca165eb9c01493ea89de4da3fcf7737e))
|
|
20
|
+
* exception if on early adError ([#4362](https://github.com/shaka-project/shaka-player/issues/4362)) ([36023e8](https://github.com/shaka-project/shaka-player/commit/36023e89d44463bf9949b53e7f24f7d6c5fc4d73)), closes [#4004](https://github.com/shaka-project/shaka-player/issues/4004)
|
|
21
|
+
* Fix key ID byteswapping for PlayReady on PS4 ([#4377](https://github.com/shaka-project/shaka-player/issues/4377)) ([b8eb590](https://github.com/shaka-project/shaka-player/commit/b8eb590084a9871d95b3f1fccc1921d1da649e6a))
|
|
22
|
+
* Fix MediaCapabilities polyfill on Tizen and WebOS ([#4396](https://github.com/shaka-project/shaka-player/issues/4396)) ([259cd84](https://github.com/shaka-project/shaka-player/commit/259cd844863ffc754c3e130ee673014f7913670d)), closes [#4383](https://github.com/shaka-project/shaka-player/issues/4383) [#4357](https://github.com/shaka-project/shaka-player/issues/4357)
|
|
23
|
+
* Fix TextDecoder fallback and browser support check ([#4403](https://github.com/shaka-project/shaka-player/issues/4403)) ([45cae27](https://github.com/shaka-project/shaka-player/commit/45cae273efd1070a7bb266e7cca84b9905756a4a))
|
|
24
|
+
* Fix UI captions icon state ([#4384](https://github.com/shaka-project/shaka-player/issues/4384)) ([c31a57f](https://github.com/shaka-project/shaka-player/commit/c31a57fa19225e4a081f261958b678d389a9490b)), closes [#4358](https://github.com/shaka-project/shaka-player/issues/4358)
|
|
25
|
+
* Fix VP9 codec checks on Mac Firefox ([#4391](https://github.com/shaka-project/shaka-player/issues/4391)) ([227dfef](https://github.com/shaka-project/shaka-player/commit/227dfefa39befe5bc184e05a3f6a916b4cf04147))
|
|
26
|
+
* **text:** Fix cue region rendering in UI ([#4412](https://github.com/shaka-project/shaka-player/issues/4412)) ([4706572](https://github.com/shaka-project/shaka-player/commit/4706572b4582d56a51be1aa3295751c436cf6c07)), closes [#4381](https://github.com/shaka-project/shaka-player/issues/4381)
|
|
27
|
+
* **text:** Fix TTML render timing and line break issues ([#4407](https://github.com/shaka-project/shaka-player/issues/4407)) ([1c6deb4](https://github.com/shaka-project/shaka-player/commit/1c6deb42a013cc36cf37497ac9b22606a286fd20)), closes [#4381](https://github.com/shaka-project/shaka-player/issues/4381)
|
|
28
|
+
* Update v4.1.x branch Cast receiver ID ([582058b](https://github.com/shaka-project/shaka-player/commit/582058b2a22337ea2259c200949d51e594cba22a))
|
|
29
|
+
|
|
30
|
+
## [4.1.2](https://github.com/shaka-project/shaka-player/compare/v4.1.1...v4.1.2) (2022-07-14)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* Add fallback to TextDecoder and TextEncoder ([#4324](https://github.com/shaka-project/shaka-player/issues/4324)) ([dc26ed2](https://github.com/shaka-project/shaka-player/commit/dc26ed2e0e4c994684712c38b3cde4fcdbe5a974))
|
|
36
|
+
* Debug buffer placement ([f554d5d](https://github.com/shaka-project/shaka-player/commit/f554d5d642c695ae28f1e5724fa025231323022a))
|
|
37
|
+
* Fix EOS set-top box being identified as Apple. ([#4310](https://github.com/shaka-project/shaka-player/issues/4310)) ([3f24916](https://github.com/shaka-project/shaka-player/commit/3f24916b108ebdd833b626ea6cdfbdb20b244767))
|
|
38
|
+
* Fix getVideoPlaybackQuality in WebOS 3 ([#4316](https://github.com/shaka-project/shaka-player/issues/4316)) ([0e741d9](https://github.com/shaka-project/shaka-player/commit/0e741d95282487a699b77a521e1acf31ada732a6))
|
|
39
|
+
* Fix MediaCapabilities polyfill on Playstation 4 ([#4320](https://github.com/shaka-project/shaka-player/issues/4320)) ([afa2a4b](https://github.com/shaka-project/shaka-player/commit/afa2a4b3f3358dc538cc164f6eb1969100c1d491))
|
|
40
|
+
* Fix segment index assertions with DAI ([2ef9270](https://github.com/shaka-project/shaka-player/commit/2ef9270a95dd0de5119dc5c6fe6cc18a59202c24))
|
|
41
|
+
* VTT Cue Parsing On PlayStation 4 ([#4340](https://github.com/shaka-project/shaka-player/issues/4340)) ([6784d88](https://github.com/shaka-project/shaka-player/commit/6784d88d2a5ee0f3763a50e6b0b74418c2f6af41)), closes [#4321](https://github.com/shaka-project/shaka-player/issues/4321)
|
|
42
|
+
|
|
3
43
|
## [4.1.1](https://github.com/shaka-project/shaka-player/compare/v4.1.0...v4.1.1) (2022-06-14)
|
|
4
44
|
|
|
5
45
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
Aaron Vaage <vaage@google.com>
|
|
26
26
|
Adrián Gómez Llorente <adgllorente@gmail.com>
|
|
27
|
+
Agajan Jumakuliyev <agajan.tm@gmail.com>
|
|
27
28
|
Aidan Ridley <aidan.ridley@charter.com>
|
|
28
29
|
Alex Jones <alexedwardjones@gmail.com>
|
|
29
30
|
Alvaro Velad Galvan <alvaro.velad@mirada.tv>
|
|
@@ -54,6 +55,7 @@ Giorgio Gamberoni <giorgio.gamberoni@gmail.com>
|
|
|
54
55
|
Giuseppe Samela <giuseppe.samela@gmail.com>
|
|
55
56
|
Hichem Taoufik <hichem@code-it.fr>
|
|
56
57
|
Itay Kinnrot <itay.kinnrot@kaltura.com>
|
|
58
|
+
Isaac Ramirez <isaac.ramirez.herrera@gmail.com>
|
|
57
59
|
Jacob Trimble <modmaker@google.com>
|
|
58
60
|
Jason Palmer <jason@jason-palmer.com>
|
|
59
61
|
Jeffrey Swan <jeffdswan@gmail.com>
|
|
@@ -68,6 +70,7 @@ Jono Ward <jonoward@gmail.com>
|
|
|
68
70
|
Jozef Chúťka <jozefchutka@gmail.com>
|
|
69
71
|
Julian Domingo <juliandomingo@google.com>
|
|
70
72
|
Jun Hong Chong <chongjunhong@gmail.com>
|
|
73
|
+
Jürgen Kartnaller <kartnaller@lovelysystems.com>
|
|
71
74
|
Leandro Ribeiro Moreira <leandro.ribeiro.moreira@gmail.com>
|
|
72
75
|
Lucas Gabriel Sánchez <unkiwii@gmail.com>
|
|
73
76
|
Matias Russitto <russitto@gmail.com>
|
package/README.md
CHANGED
|
@@ -24,6 +24,12 @@ For details on what's coming next, see our [development roadmap](roadmap.md).
|
|
|
24
24
|
[offline storage and playback]: https://shaka-player-demo.appspot.com/docs/api/tutorial-offline.html
|
|
25
25
|
|
|
26
26
|
|
|
27
|
+
## Maintained branches
|
|
28
|
+
|
|
29
|
+
See [maintained-branches.md](https://github.com/shaka-project/shaka-player/blob/main/maintained-branches.md)
|
|
30
|
+
for the up-to-date list of maintained branches of Shaka Player.
|
|
31
|
+
|
|
32
|
+
|
|
27
33
|
## Platform and browser support matrix
|
|
28
34
|
|
|
29
35
|
|Browser |Windows |Mac |Linux |Android |iOS >= 13 |ChromeOS|Other|
|
|
@@ -39,6 +45,8 @@ For details on what's coming next, see our [development roadmap](roadmap.md).
|
|
|
39
45
|
|Tizen TV³ | - | - | - | - | - | - |**Y**|
|
|
40
46
|
|WebOS⁶ | - | - | - | - | - | - |**Y**|
|
|
41
47
|
|Xbox One | - | - | - | - | - | - |**Y**|
|
|
48
|
+
|Playstation 4⁷| - | - | - | - | - | - |**Y**|
|
|
49
|
+
|Playstation 5⁷| - | - | - | - | - | - |**Y**|
|
|
42
50
|
|
|
43
51
|
NOTES:
|
|
44
52
|
- ¹: On macOS, only Safari 13+ is supported. On iOS, only iOS 13+ is
|
|
@@ -53,6 +61,8 @@ NOTES:
|
|
|
53
61
|
us.
|
|
54
62
|
- Official support for LG WebOS TV:
|
|
55
63
|
https://github.com/shaka-project/shaka-player/issues/1330
|
|
64
|
+
- ⁷: These are expected to work, but are community-supported and untested by
|
|
65
|
+
us.
|
|
56
66
|
|
|
57
67
|
We support iOS 13+ through Apple's native HLS player. We provide the same
|
|
58
68
|
top-level API, but we just set the video's `src` element to the manifest/media.
|
|
@@ -119,7 +129,7 @@ HLS features supported:
|
|
|
119
129
|
- Low-latency streaming with partial segments, preload hints, and delta updates
|
|
120
130
|
- Discontinuity
|
|
121
131
|
- ISO-BMFF / MP4 / CMAF support
|
|
122
|
-
- MPEG-2 TS support (transmuxing provided by [mux.js][] v6.
|
|
132
|
+
- MPEG-2 TS support (transmuxing provided by [mux.js][] v6.2.0+, must be
|
|
123
133
|
separately included)
|
|
124
134
|
- WebVTT and TTML
|
|
125
135
|
- CEA-608/708 captions
|
|
@@ -149,6 +159,8 @@ HLS features **not** supported:
|
|
|
149
159
|
|Tizen TV |**Y** |**Y** | - |untested⁵ |
|
|
150
160
|
|WebOS⁷ |untested⁷ |untested⁷| - |untested⁷ |
|
|
151
161
|
|Xbox One | - |**Y** | - | - |
|
|
162
|
+
|Playstation 4⁷| - |untested⁷| - |untested⁷ |
|
|
163
|
+
|Playstation 5⁷| - |untested⁷| - |untested⁷ |
|
|
152
164
|
|
|
153
165
|
Other DRM systems should work out of the box if they are interoperable and
|
|
154
166
|
compliant to the EME spec.
|
|
@@ -191,7 +203,7 @@ Shaka Player supports:
|
|
|
191
203
|
SegmentTemplate@index
|
|
192
204
|
- Not supported in HLS
|
|
193
205
|
- MPEG-2 TS
|
|
194
|
-
- With help from [mux.js][] v6.
|
|
206
|
+
- With help from [mux.js][] v6.2.0+, can be played on any browser which
|
|
195
207
|
supports MP4
|
|
196
208
|
- Can find and parse timestamps to find segment start time in HLS
|
|
197
209
|
- WebVTT
|
|
@@ -200,10 +212,10 @@ Shaka Player supports:
|
|
|
200
212
|
- Supported in both XML form and embedded in MP4
|
|
201
213
|
- CEA-608
|
|
202
214
|
- Supported embedded in MP4
|
|
203
|
-
- With help from [mux.js][] v6.
|
|
215
|
+
- With help from [mux.js][] v6.2.0+, supported embedded in TS
|
|
204
216
|
- CEA-708
|
|
205
217
|
- Supported embedded in MP4
|
|
206
|
-
- With help from [mux.js][] v6.
|
|
218
|
+
- With help from [mux.js][] v6.2.0+, supported embedded in TS
|
|
207
219
|
- SubRip (SRT)
|
|
208
220
|
- UTF-8 encoding only
|
|
209
221
|
- LyRiCs (LRC)
|
|
@@ -231,8 +243,10 @@ attributes.
|
|
|
231
243
|
* [Hosted builds on jsDelivr](https://www.jsdelivr.com/package/npm/shaka-player)
|
|
232
244
|
* [Development roadmap](roadmap.md)
|
|
233
245
|
* [Announcement list](https://groups.google.com/forum/#!forum/shaka-player-users)
|
|
234
|
-
([join](docs/announcement-list-join-group.png) for
|
|
235
|
-
announcements)
|
|
246
|
+
([join](docs/announcement-list-join-group.png) for infrequent
|
|
247
|
+
announcements and surveys)
|
|
248
|
+
* Subscribe to releases by following
|
|
249
|
+
[instructions from this blog](https://www.jessesquires.com/blog/2020/07/30/github-tip-watching-releases/)
|
|
236
250
|
|
|
237
251
|
|
|
238
252
|
## FAQ ##
|
package/demo/index.html
CHANGED
|
@@ -50,8 +50,6 @@
|
|
|
50
50
|
<script defer src="../node_modules/tippy.js/umd/index.min.js"></script>
|
|
51
51
|
<!-- Improved PWA capability on mobile Safari is enabled by loading pwacompat: -->
|
|
52
52
|
<script defer src="../node_modules/pwacompat/pwacompat.min.js"></script>
|
|
53
|
-
<!-- TextDecoder polyfill, required for legacy Edge. -->
|
|
54
|
-
<script defer src="../node_modules/fastestsmallesttextencoderdecoder/EncoderDecoderTogether.min.js"></script>
|
|
55
53
|
|
|
56
54
|
<!-- Include IMA SDK to enable client-side ad insertion: -->
|
|
57
55
|
<script type="text/javascript" src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
|
|
@@ -128,7 +126,7 @@ UNCOMPILED_JS = [
|
|
|
128
126
|
</div>
|
|
129
127
|
<main class="mdl-layout__content" id="main-div">
|
|
130
128
|
<div id="video-bar" class="hidden">
|
|
131
|
-
<div data-shaka-player-container data-shaka-player-cast-receiver-id="
|
|
129
|
+
<div data-shaka-player-container data-shaka-player-cast-receiver-id="06EDA6EE" class="video-container">
|
|
132
130
|
<video data-shaka-player autoplay playsinline id="video"></video>
|
|
133
131
|
</div>
|
|
134
132
|
</div>
|
package/dist/controls.css
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
28
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
29
|
* SOFTWARE.
|
|
30
|
-
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0 0 0 / 40%);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0 0 0 / 54%)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-skip-ad-container{position:relative;right:calc((100% - 96%)/ 2 * -1);display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0 0 0 / 70%);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0 0 0 / 30%)}.shaka-skip-ad-counter{padding:5px;background:rgba(0 0 0 / 70%);margin:0}/*!
|
|
30
|
+
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0 0 0 / 40%);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0 0 0 / 54%)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-ad-controls .shaka-ad-position:not(.shaka-hidden)+.shaka-ad-counter{margin-left:.75em}.shaka-skip-ad-container{position:relative;right:calc((100% - 96%)/ 2 * -1);display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0 0 0 / 70%);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0 0 0 / 30%)}.shaka-skip-ad-counter{padding:5px;background:rgba(0 0 0 / 70%);margin:0}/*!
|
|
31
31
|
* @license
|
|
32
32
|
* The tooltip is based on https://github.com/felipefialho/css-components/
|
|
33
33
|
* Local modifications have been performed.
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
52
52
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
53
53
|
* SOFTWARE.
|
|
54
|
-
*/.shaka-tooltips-on{overflow:visible}.shaka-tooltips-on>[class*=shaka-tooltip]{position:relative}.shaka-tooltips-on>[class*=shaka-tooltip]:active:after,.shaka-tooltips-on>[class*=shaka-tooltip]:focus-visible:after,.shaka-tooltips-on>[class*=shaka-tooltip]:hover:after{content:attr(aria-label);font-family:Roboto-Regular,Roboto,sans-serif;line-height:calc(32px / 2);white-space:nowrap;font-size:13px;background:rgba(35 35 35 / 90%);color:#fff;border-radius:3px;padding:5px 10px;position:absolute;bottom:calc(32px + 5px);left:calc(32px / 2);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.shaka-tooltips-on>.shaka-tooltip-status:active:after,.shaka-tooltips-on>.shaka-tooltip-status:focus-visible:after,.shaka-tooltips-on>.shaka-tooltip-status:hover:after{content:attr(aria-label) " (" attr(shaka-status) ")"}.shaka-tooltips-on button:first-child:active:after,.shaka-tooltips-on button:first-child:focus-visible:after,.shaka-tooltips-on button:first-child:hover:after{left:0;-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shaka-tooltips-on button:last-child:active:after,.shaka-tooltips-on button:last-child:focus-visible:after,.shaka-tooltips-on button:last-child:hover:after{left:32px;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%)}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/
|
|
54
|
+
*/.shaka-tooltips-on{overflow:visible}.shaka-tooltips-on>[class*=shaka-tooltip]{position:relative}.shaka-tooltips-on>[class*=shaka-tooltip]:active:after,.shaka-tooltips-on>[class*=shaka-tooltip]:focus-visible:after,.shaka-tooltips-on>[class*=shaka-tooltip]:hover:after{content:attr(aria-label);font-family:Roboto-Regular,Roboto,sans-serif;line-height:calc(32px / 2);white-space:nowrap;font-size:13px;background:rgba(35 35 35 / 90%);color:#fff;border-radius:3px;padding:5px 10px;position:absolute;bottom:calc(32px + 5px);left:calc(32px / 2);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.shaka-tooltips-on>.shaka-tooltip-status:active:after,.shaka-tooltips-on>.shaka-tooltip-status:focus-visible:after,.shaka-tooltips-on>.shaka-tooltip-status:hover:after{content:attr(aria-label) " (" attr(shaka-status) ")"}.shaka-tooltips-on button:first-child:active:after,.shaka-tooltips-on button:first-child:focus-visible:after,.shaka-tooltips-on button:first-child:hover:after{left:0;-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shaka-tooltips-on button:last-child:active:after,.shaka-tooltips-on button:last-child:focus-visible:after,.shaka-tooltips-on button:last-child:hover:after{left:32px;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%)}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/v107/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmM.otf) format('opentype')}.material-icons-round{font-family:'Material Icons Round';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr}/*# sourceMappingURL=controls.css.map */
|
package/dist/controls.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["$stdin"],"names":[],"mappings":"AAaA,cAGE,QAAS,eAkBX,uBASE,SAAU,SAIV,IAAK,EACL,KAAM,EAGN,QAAS,KAIX,6CACE,YAAa,uBACb,UAAW,KAEb,yBACE,YAAa,cAAc,CAAE,MAAM,CAAE,UAAU,CAAE,iBAQnD,kCACE,MAAO,KACP,OAAQ,KACR,iBAAkB,KAEpB,wDAIE,UAAW,QAEb,2CACE,MAAO,KACP,OAAQ,KACR,iBAAkB,KAEpB,iEAIE,UAAW,QAEb,wCACE,MAAO,KACP,OAAQ,KACR,iBAAkB,KAEpB,8DAIE,UAAW,QAEb,sCACE,MAAO,KACP,OAAQ,KACR,iBAAkB,KAEpB,4DAIE,UAAW,QAab,0BASE,SAAU,SAEV,IAAK,EACL,KAAM,EACN,MAAO,EACP,OAAQ,EACR,OAAQ,EACR,QAAS,EACT,MAAO,KACP,OAAQ,KAER,WAAY,WAEZ,QAAS,KAET,eAAgB,OAEhB,gBAAiB,SAEjB,YAAa,OAKb,QAAS,EAEX,4EACE,QAAS,KAEX,4BACE,YAAa,EAKf,iEACE,QAAS,KAIX,uBACE,MAAO,IACP,QAAS,EACT,eAAgB,KAMhB,QAAS,EAKX,6BAEE,QAAS,EACT,OAAQ,EAER,QAAS,KACT,eAAgB,IAEhB,gBAAiB,SAEjB,YAAa,OAEb,SAAU,OACV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BAAiB,SACjB,eAAgB,OAGhB,YAAa,IAAI,IAAI,IAAI,KAE3B,2EACE,YAAa,MAEf,yBAGE,SAAU,SAOV,MAAO,2BACP,QAAS,KACT,eAAgB,IAChB,OAAQ,EAEV,sBACE,QAAS,IAAI,KACb,WAAY,kBACZ,OAAQ,KACR,OAAQ,QAEV,+BACE,WAAY,kBAEd,uBACE,QAAS,IACT,WAAY,kBACZ,OAAQ,EAEV;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,mBACE,SAAU,QAOZ,0CACE,SAAU,SAKZ,uDADA,8DADA,sDAGE,QAAS,iBAET,YAAa,cAAc,CAAE,MAAM,CAAE,WACrC,YAAa,eACb,YAAa,OACb,UAAW,KAEX,WAAY,qBACZ,MAAO,KACP,cAAe,IACf,QAAS,IAAI,KAEb,SAAU,SACV,OAAQ,iBAER,KAAM,eAEN,kBAAmB,iBACnB,eAAgB,iBAChB,cAAe,iBACf,aAAc,iBACd,UAAW,iBAIb,sDADA,6DADA,qDAGE,QAAS,iBAAiB,KAAK,mBAAmB,IAIpD,mDADA,0DADA,kDAGE,KAAM,EACN,kBAAmB,cACnB,eAAgB,cAChB,cAAe,cACf,aAAc,cACd,UAAW,cAIb,kDADA,yDADA,iDAGE,KAAM,KACN,kBAAmB,kBACnB,eAAgB,kBAChB,cAAe,kBACf,aAAc,kBACd,UAAW,kBAEb,WACE,YAAa,OACb,WAAY,OACZ,YAAa,IACb,IAAK,qEAAqE,mBAG5E,WACE,YAAa,uBACb,WAAY,OACZ,YAAa,IACb,IAAK,kGAAkG,mBAGzG,sBACE,YAAa,uBACb,YAAa,IACb,WAAY,OACZ,UAAW,KACX,YAAa,EACb,eAAgB,OAChB,eAAgB,KAChB,QAAS,aACT,YAAa,OACb,UAAW,OACX,UAAW"}
|
package/dist/deps.js
CHANGED
|
@@ -65,7 +65,7 @@ goog.addDependency('../../../../lib/media/content_workarounds.js', ['shaka.media
|
|
|
65
65
|
goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngine'], ['goog.asserts', 'shaka.log', 'shaka.media.Transmuxer', 'shaka.net.NetworkingEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IDestroyable', 'shaka.util.Iterables', 'shaka.util.Lazy', 'shaka.util.MapUtils', 'shaka.util.MimeUtils', 'shaka.util.Platform', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.StringUtils', 'shaka.util.Timer', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es8'});
|
|
66
66
|
goog.addDependency('../../../../lib/media/gap_jumping_controller.js', ['shaka.media.GapJumpingController'], ['shaka.log', 'shaka.media.PresentationTimeline', 'shaka.media.StallDetector', 'shaka.media.TimeRangesUtils', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IReleasable', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
67
67
|
goog.addDependency('../../../../lib/media/manifest_parser.js', ['shaka.media.ManifestParser'], ['goog.Uri', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.Error', 'shaka.util.Platform'], {'lang': 'es8'});
|
|
68
|
-
goog.addDependency('../../../../lib/media/media_source_engine.js', ['shaka.media.MediaSourceEngine'], ['goog.asserts', 'shaka.log', 'shaka.media.ContentWorkarounds', 'shaka.media.IClosedCaptionParser', 'shaka.media.TimeRangesUtils', 'shaka.media.Transmuxer', 'shaka.text.TextEngine', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.IDestroyable', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Platform', 'shaka.util.PublicPromise'], {'lang': 'es8'});
|
|
68
|
+
goog.addDependency('../../../../lib/media/media_source_engine.js', ['shaka.media.MediaSourceEngine'], ['goog.asserts', 'shaka.log', 'shaka.media.ContentWorkarounds', 'shaka.media.IClosedCaptionParser', 'shaka.media.SegmentReference', 'shaka.media.TimeRangesUtils', 'shaka.media.Transmuxer', 'shaka.text.TextEngine', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.IDestroyable', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Platform', 'shaka.util.PublicPromise'], {'lang': 'es8'});
|
|
69
69
|
goog.addDependency('../../../../lib/media/mp4_segment_index_parser.js', ['shaka.media.Mp4SegmentIndexParser'], ['goog.asserts', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.SegmentReference', 'shaka.util.Error', 'shaka.util.Mp4Parser'], {'lang': 'es6'});
|
|
70
70
|
goog.addDependency('../../../../lib/media/play_rate_controller.js', ['shaka.media.PlayRateController'], ['goog.asserts', 'shaka.log', 'shaka.util.IReleasable', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
71
71
|
goog.addDependency('../../../../lib/media/playhead.js', ['shaka.media.MediaSourcePlayhead', 'shaka.media.Playhead', 'shaka.media.SrcEqualsPlayhead'], ['goog.asserts', 'shaka.log', 'shaka.media.GapJumpingController', 'shaka.media.StallDetector', 'shaka.media.StallDetector.MediaElementImplementation', 'shaka.media.TimeRangesUtils', 'shaka.media.VideoWrapper', 'shaka.util.EventManager', 'shaka.util.IReleasable', 'shaka.util.MediaReadyState', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
@@ -123,7 +123,7 @@ goog.addDependency('../../../../lib/polyfill/random_uuid.js', ['shaka.polyfill.R
|
|
|
123
123
|
goog.addDependency('../../../../lib/polyfill/storage_estimate.js', ['shaka.polyfill.StorageEstimate'], ['shaka.polyfill'], {'lang': 'es8'});
|
|
124
124
|
goog.addDependency('../../../../lib/polyfill/symbol.js', ['shaka.polyfill.Symbol'], ['shaka.log', 'shaka.polyfill'], {'lang': 'es6'});
|
|
125
125
|
goog.addDependency('../../../../lib/polyfill/video_play_promise.js', ['shaka.polyfill.VideoPlayPromise'], ['shaka.log', 'shaka.polyfill'], {'lang': 'es6'});
|
|
126
|
-
goog.addDependency('../../../../lib/polyfill/videoplaybackquality.js', ['shaka.polyfill.VideoPlaybackQuality'], ['shaka.polyfill'], {'lang': 'es6'});
|
|
126
|
+
goog.addDependency('../../../../lib/polyfill/videoplaybackquality.js', ['shaka.polyfill.VideoPlaybackQuality'], ['shaka.polyfill', 'shaka.util.Platform'], {'lang': 'es6'});
|
|
127
127
|
goog.addDependency('../../../../lib/polyfill/vttcue.js', ['shaka.polyfill.VTTCue'], ['shaka.log', 'shaka.polyfill'], {'lang': 'es6'});
|
|
128
128
|
goog.addDependency('../../../../lib/routing/node.js', ['shaka.routing.Node'], []);
|
|
129
129
|
goog.addDependency('../../../../lib/routing/payload.js', ['shaka.routing.Payload'], []);
|
|
@@ -180,7 +180,7 @@ goog.addDependency('../../../../lib/util/public_promise.js', ['shaka.util.Public
|
|
|
180
180
|
goog.addDependency('../../../../lib/util/state_history.js', ['shaka.util.StateHistory'], ['goog.asserts', 'shaka.log'], {'lang': 'es6'});
|
|
181
181
|
goog.addDependency('../../../../lib/util/stats.js', ['shaka.util.Stats'], ['shaka.util.StateHistory', 'shaka.util.SwitchHistory'], {'lang': 'es6'});
|
|
182
182
|
goog.addDependency('../../../../lib/util/stream_utils.js', ['shaka.util.StreamUtils'], ['goog.asserts', 'shaka.log', 'shaka.text.TextEngine', 'shaka.util.Functional', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.MultiMap', 'shaka.util.Platform'], {'lang': 'es8'});
|
|
183
|
-
goog.addDependency('../../../../lib/util/string_utils.js', ['shaka.util.StringUtils'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.Lazy'], {'lang': 'es6'});
|
|
183
|
+
goog.addDependency('../../../../lib/util/string_utils.js', ['shaka.util.StringUtils'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.Lazy', 'shaka.util.Platform'], {'lang': 'es6'});
|
|
184
184
|
goog.addDependency('../../../../lib/util/switch_history.js', ['shaka.util.SwitchHistory'], [], {'lang': 'es6'});
|
|
185
185
|
goog.addDependency('../../../../lib/util/text_parser.js', ['shaka.util.TextParser'], ['goog.asserts'], {'lang': 'es6'});
|
|
186
186
|
goog.addDependency('../../../../lib/util/timer.js', ['shaka.util.Timer'], ['shaka.util.DelayedTick'], {'lang': 'es6'});
|
package/dist/locales.js
CHANGED
|
@@ -721,45 +721,45 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
721
721
|
* @const
|
|
722
722
|
*/
|
|
723
723
|
shaka.ui.Locales.Ids = {
|
|
724
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
725
|
-
CAST: 'CAST',
|
|
726
|
-
LIVE: 'LIVE',
|
|
727
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
728
|
-
SEEK: 'SEEK',
|
|
729
|
-
CAPTIONS: 'CAPTIONS',
|
|
730
|
-
REPLAY: 'REPLAY',
|
|
731
|
-
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
732
724
|
FULL_SCREEN: 'FULL_SCREEN',
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
725
|
+
LIVE: 'LIVE',
|
|
726
|
+
BACK: 'BACK',
|
|
727
|
+
LOOP: 'LOOP',
|
|
728
|
+
QUALITY: 'QUALITY',
|
|
729
|
+
SKIP_AD: 'SKIP_AD',
|
|
730
|
+
OFF: 'OFF',
|
|
737
731
|
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
RESOLUTION: 'RESOLUTION',
|
|
741
|
-
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
732
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
733
|
+
AD_TIME: 'AD_TIME',
|
|
742
734
|
LANGUAGE: 'LANGUAGE',
|
|
743
|
-
|
|
735
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
736
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
737
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
738
|
+
SEEK: 'SEEK',
|
|
739
|
+
ON: 'ON',
|
|
740
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
741
|
+
MUTE: 'MUTE',
|
|
742
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
744
743
|
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
744
|
+
REWIND: 'REWIND',
|
|
745
|
+
CAST: 'CAST',
|
|
745
746
|
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
746
|
-
AD_TIME: 'AD_TIME',
|
|
747
|
-
OFF: 'OFF',
|
|
748
|
-
PLAY: 'PLAY',
|
|
749
|
-
LOOP: 'LOOP',
|
|
750
747
|
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
751
|
-
|
|
752
|
-
AD_DURATION: 'AD_DURATION',
|
|
753
|
-
UNMUTE: 'UNMUTE',
|
|
754
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
748
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
755
749
|
AIRPLAY: 'AIRPLAY',
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
760
|
-
ON: 'ON',
|
|
761
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
762
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
750
|
+
UNMUTE: 'UNMUTE',
|
|
751
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
752
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
763
753
|
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
764
|
-
|
|
754
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
755
|
+
STATISTICS: 'STATISTICS',
|
|
756
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
757
|
+
CAPTIONS: 'CAPTIONS',
|
|
758
|
+
AD_DURATION: 'AD_DURATION',
|
|
759
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
760
|
+
PLAY: 'PLAY',
|
|
761
|
+
VOLUME: 'VOLUME',
|
|
762
|
+
RESOLUTION: 'RESOLUTION',
|
|
763
|
+
REPLAY: 'REPLAY',
|
|
764
|
+
PAUSE: 'PAUSE',
|
|
765
765
|
};
|
|
@@ -923,6 +923,17 @@ declare namespace shaka.media {
|
|
|
923
923
|
getSegmentAvailabilityStart ( ) : number ;
|
|
924
924
|
isInProgress ( ) : boolean ;
|
|
925
925
|
isLive ( ) : boolean ;
|
|
926
|
+
/**
|
|
927
|
+
* Lock the presentation timeline's start time. After this is called, no
|
|
928
|
+
* further adjustments to presentationStartTime_ will be permitted.
|
|
929
|
+
* This should be called after all Periods have been parsed, and all calls to
|
|
930
|
+
* notifySegments() from the initial manifest parse have been made.
|
|
931
|
+
* Without this, we can get assertion failures in SegmentIndex for certain
|
|
932
|
+
* DAI content. If DAI adds ad segments to the manifest faster than
|
|
933
|
+
* real-time, adjustments to presentationStartTime_ can cause availability
|
|
934
|
+
* windows to jump around on updates.
|
|
935
|
+
*/
|
|
936
|
+
lockStartTime ( ) : any ;
|
|
926
937
|
/**
|
|
927
938
|
* Gives PresentationTimeline a Stream's maximum segment duration so it can
|
|
928
939
|
* size and position the segment availability window. This function should be
|
|
@@ -1644,7 +1655,7 @@ declare namespace shaka.text {
|
|
|
1644
1655
|
linePadding : any ;
|
|
1645
1656
|
nestedCues : any ;
|
|
1646
1657
|
opacity : any ;
|
|
1647
|
-
payload :
|
|
1658
|
+
payload : any ;
|
|
1648
1659
|
position : any ;
|
|
1649
1660
|
positionAlign : any ;
|
|
1650
1661
|
region : any ;
|
|
@@ -923,6 +923,17 @@ declare namespace shaka.media {
|
|
|
923
923
|
getSegmentAvailabilityStart ( ) : number ;
|
|
924
924
|
isInProgress ( ) : boolean ;
|
|
925
925
|
isLive ( ) : boolean ;
|
|
926
|
+
/**
|
|
927
|
+
* Lock the presentation timeline's start time. After this is called, no
|
|
928
|
+
* further adjustments to presentationStartTime_ will be permitted.
|
|
929
|
+
* This should be called after all Periods have been parsed, and all calls to
|
|
930
|
+
* notifySegments() from the initial manifest parse have been made.
|
|
931
|
+
* Without this, we can get assertion failures in SegmentIndex for certain
|
|
932
|
+
* DAI content. If DAI adds ad segments to the manifest faster than
|
|
933
|
+
* real-time, adjustments to presentationStartTime_ can cause availability
|
|
934
|
+
* windows to jump around on updates.
|
|
935
|
+
*/
|
|
936
|
+
lockStartTime ( ) : any ;
|
|
926
937
|
/**
|
|
927
938
|
* Gives PresentationTimeline a Stream's maximum segment duration so it can
|
|
928
939
|
* size and position the segment availability window. This function should be
|
|
@@ -1644,7 +1655,7 @@ declare namespace shaka.text {
|
|
|
1644
1655
|
linePadding : any ;
|
|
1645
1656
|
nestedCues : any ;
|
|
1646
1657
|
opacity : any ;
|
|
1647
|
-
payload :
|
|
1658
|
+
payload : any ;
|
|
1648
1659
|
position : any ;
|
|
1649
1660
|
positionAlign : any ;
|
|
1650
1661
|
region : any ;
|
|
@@ -61,7 +61,6 @@ shaka.text.Cue.prototype.direction;
|
|
|
61
61
|
shaka.text.Cue.prototype.endTime;
|
|
62
62
|
/**
|
|
63
63
|
* @override
|
|
64
|
-
* @type {string}
|
|
65
64
|
*/
|
|
66
65
|
shaka.text.Cue.prototype.payload;
|
|
67
66
|
/**
|
|
@@ -386,6 +385,7 @@ shaka.util.BufferUtils = class {
|
|
|
386
385
|
* @param {?BufferSource} arr1
|
|
387
386
|
* @param {?BufferSource} arr2
|
|
388
387
|
* @return {boolean}
|
|
388
|
+
* @suppress {strictMissingProperties}
|
|
389
389
|
*/
|
|
390
390
|
static equal(arr1, arr2) {}
|
|
391
391
|
/**
|
|
@@ -653,6 +653,43 @@ shaka.util.Error.Code = {
|
|
|
653
653
|
'SS_AD_MANAGER_NOT_INITIALIZED': 10003,
|
|
654
654
|
'CURRENT_DAI_REQUEST_NOT_FINISHED': 10004
|
|
655
655
|
};
|
|
656
|
+
/**
|
|
657
|
+
* A timer allows a single function to be executed at a later time or at
|
|
658
|
+
* regular intervals.
|
|
659
|
+
* @final
|
|
660
|
+
*/
|
|
661
|
+
shaka.util.Timer = class {
|
|
662
|
+
/**
|
|
663
|
+
* Create a new timer. A timer is committed to a single callback function.
|
|
664
|
+
* While there is no technical reason to do this, it is far easier to
|
|
665
|
+
* understand and use timers when they are connected to one functional idea.
|
|
666
|
+
* @param {function()} onTick
|
|
667
|
+
*/
|
|
668
|
+
constructor(onTick) {}
|
|
669
|
+
/**
|
|
670
|
+
* Have the timer call |onTick| now.
|
|
671
|
+
* @return {!shaka.util.Timer}
|
|
672
|
+
*/
|
|
673
|
+
tickNow() {}
|
|
674
|
+
/**
|
|
675
|
+
* Have the timer call |onTick| after |seconds| has elapsed unless |stop| is
|
|
676
|
+
* called first.
|
|
677
|
+
* @param {number} seconds
|
|
678
|
+
* @return {!shaka.util.Timer}
|
|
679
|
+
*/
|
|
680
|
+
tickAfter(seconds) {}
|
|
681
|
+
/**
|
|
682
|
+
* Have the timer call |onTick| every |seconds| until |stop| is called.
|
|
683
|
+
* @param {number} seconds
|
|
684
|
+
* @return {!shaka.util.Timer}
|
|
685
|
+
*/
|
|
686
|
+
tickEvery(seconds) {}
|
|
687
|
+
/**
|
|
688
|
+
* Stop the timer and clear the previous behaviour. The timer is still usable
|
|
689
|
+
* after calling |stop|.
|
|
690
|
+
*/
|
|
691
|
+
stop() {}
|
|
692
|
+
};
|
|
656
693
|
/**
|
|
657
694
|
* @namespace shaka.util.StringUtils
|
|
658
695
|
* @summary A set of string utility functions.
|
|
@@ -928,43 +965,6 @@ shaka.util.LanguageUtils = class {
|
|
|
928
965
|
*/
|
|
929
966
|
static findClosestLocale(target, searchSpace) {}
|
|
930
967
|
};
|
|
931
|
-
/**
|
|
932
|
-
* A timer allows a single function to be executed at a later time or at
|
|
933
|
-
* regular intervals.
|
|
934
|
-
* @final
|
|
935
|
-
*/
|
|
936
|
-
shaka.util.Timer = class {
|
|
937
|
-
/**
|
|
938
|
-
* Create a new timer. A timer is committed to a single callback function.
|
|
939
|
-
* While there is no technical reason to do this, it is far easier to
|
|
940
|
-
* understand and use timers when they are connected to one functional idea.
|
|
941
|
-
* @param {function()} onTick
|
|
942
|
-
*/
|
|
943
|
-
constructor(onTick) {}
|
|
944
|
-
/**
|
|
945
|
-
* Have the timer call |onTick| now.
|
|
946
|
-
* @return {!shaka.util.Timer}
|
|
947
|
-
*/
|
|
948
|
-
tickNow() {}
|
|
949
|
-
/**
|
|
950
|
-
* Have the timer call |onTick| after |seconds| has elapsed unless |stop| is
|
|
951
|
-
* called first.
|
|
952
|
-
* @param {number} seconds
|
|
953
|
-
* @return {!shaka.util.Timer}
|
|
954
|
-
*/
|
|
955
|
-
tickAfter(seconds) {}
|
|
956
|
-
/**
|
|
957
|
-
* Have the timer call |onTick| every |seconds| until |stop| is called.
|
|
958
|
-
* @param {number} seconds
|
|
959
|
-
* @return {!shaka.util.Timer}
|
|
960
|
-
*/
|
|
961
|
-
tickEvery(seconds) {}
|
|
962
|
-
/**
|
|
963
|
-
* Stop the timer and clear the previous behaviour. The timer is still usable
|
|
964
|
-
* after calling |stop|.
|
|
965
|
-
*/
|
|
966
|
-
stop() {}
|
|
967
|
-
};
|
|
968
968
|
/**
|
|
969
969
|
* @summary
|
|
970
970
|
* <p>
|
|
@@ -1835,6 +1835,17 @@ shaka.media.PresentationTimeline = class {
|
|
|
1835
1835
|
* @param {!Array.<!shaka.media.SegmentReference>} references
|
|
1836
1836
|
*/
|
|
1837
1837
|
notifySegments(references) {}
|
|
1838
|
+
/**
|
|
1839
|
+
* Lock the presentation timeline's start time. After this is called, no
|
|
1840
|
+
* further adjustments to presentationStartTime_ will be permitted.
|
|
1841
|
+
* This should be called after all Periods have been parsed, and all calls to
|
|
1842
|
+
* notifySegments() from the initial manifest parse have been made.
|
|
1843
|
+
* Without this, we can get assertion failures in SegmentIndex for certain
|
|
1844
|
+
* DAI content. If DAI adds ad segments to the manifest faster than
|
|
1845
|
+
* real-time, adjustments to presentationStartTime_ can cause availability
|
|
1846
|
+
* windows to jump around on updates.
|
|
1847
|
+
*/
|
|
1848
|
+
lockStartTime() {}
|
|
1838
1849
|
/**
|
|
1839
1850
|
* Gives PresentationTimeline a Stream's minimum segment start time.
|
|
1840
1851
|
* @param {number} startTime
|