shaka-player 3.2.2 → 3.2.3
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/CHANGELOG.md +46 -0
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/locales.js +30 -30
- package/dist/shaka-player.compiled.d.ts +21 -2
- package/dist/shaka-player.compiled.debug.d.ts +21 -2
- package/dist/shaka-player.compiled.debug.externs.js +22 -1
- package/dist/shaka-player.compiled.debug.js +205 -202
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +22 -1
- package/dist/shaka-player.compiled.js +727 -723
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +21 -2
- package/dist/shaka-player.ui.debug.d.ts +21 -2
- package/dist/shaka-player.ui.debug.externs.js +22 -1
- package/dist/shaka-player.ui.debug.js +221 -218
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +22 -1
- package/dist/shaka-player.ui.js +829 -825
- package/dist/shaka-player.ui.map +4 -4
- package/externs/shaka/player.js +8 -0
- package/externs/shaka/text.js +10 -0
- package/lib/dash/dash_parser.js +4 -2
- package/lib/hls/hls_parser.js +30 -0
- package/lib/media/segment_index.js +2 -1
- package/lib/media/segment_reference.js +19 -1
- package/lib/media/streaming_engine.js +5 -2
- package/lib/player.js +20 -13
- package/lib/polyfill/media_capabilities.js +30 -15
- package/lib/text/cue.js +6 -0
- package/lib/text/ttml_text_parser.js +84 -58
- package/lib/text/ui_text_displayer.js +17 -11
- package/lib/util/stream_utils.js +86 -10
- package/lib/util/xml_utils.js +19 -0
- package/package.json +2 -2
- package/test/dash/dash_parser_manifest_unit.js +33 -1
- package/test/media/drm_engine_unit.js +3 -3
- package/test/media/streaming_engine_integration.js +2 -1
- package/test/media/streaming_engine_unit.js +145 -0
- package/test/player_integration.js +41 -8
- package/test/player_src_equals_integration.js +41 -8
- package/test/player_unit.js +19 -9
- package/test/test/assets/chapters.vtt +2 -2
- package/test/test/assets/chapters2.vtt +10 -0
- package/test/test/util/ttml_utils.js +81 -0
- package/test/text/mp4_ttml_parser_unit.js +11 -18
- package/test/text/ttml_text_parser_unit.js +495 -228
- package/test/util/stream_utils_unit.js +36 -30
- package/ui/less/buttons.less +0 -4
- package/ui/text_selection.js +1 -0
- package/externs/media_capabilities.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
## 3.2.3 (2022-01-28)
|
|
2
|
+
|
|
3
|
+
Bugfixes:
|
|
4
|
+
- Fix support for TTAF1 namespace (old version of TTML)
|
|
5
|
+
- https://github.com/google/shaka-player/issues/3009
|
|
6
|
+
- https://github.com/google/shaka-player/pull/3864
|
|
7
|
+
- https://github.com/google/shaka-player/pull/3906
|
|
8
|
+
- Fix misdetection of HEVC support on MS Edge
|
|
9
|
+
- https://github.com/google/shaka-player/pull/3897
|
|
10
|
+
- Fix caption overlap
|
|
11
|
+
- https://github.com/google/shaka-player/issues/3850
|
|
12
|
+
- https://github.com/google/shaka-player/issues/3741
|
|
13
|
+
- Support multiple chapter tracks with same language
|
|
14
|
+
- https://github.com/google/shaka-player/issues/3597
|
|
15
|
+
- https://github.com/google/shaka-player/pull/3868
|
|
16
|
+
- Fix text UI not updating when text is disabled
|
|
17
|
+
- https://github.com/google/shaka-player/issues/3728
|
|
18
|
+
- https://github.com/google/shaka-player/pull/3867
|
|
19
|
+
- Clear buffer on seek if mediaState is updating
|
|
20
|
+
- https://github.com/google/shaka-player/issues/3299
|
|
21
|
+
- https://github.com/google/shaka-player/pull/3795
|
|
22
|
+
- Fix thumbnails issues
|
|
23
|
+
- https://github.com/google/shaka-player/pull/3858
|
|
24
|
+
- Made nested cues inherit region
|
|
25
|
+
- https://github.com/google/shaka-player/issues/3743
|
|
26
|
+
- https://github.com/google/shaka-player/pull/3837
|
|
27
|
+
- Fix MediaCapabilities polyfill on Safari
|
|
28
|
+
- https://github.com/google/shaka-player/issues/3696
|
|
29
|
+
- https://github.com/google/shaka-player/issues/3530
|
|
30
|
+
- Fix usage of Shaka without polyfills
|
|
31
|
+
- https://github.com/google/shaka-player/issues/3843
|
|
32
|
+
- Fix playback failure due to rounding errors
|
|
33
|
+
- https://github.com/google/shaka-player/issues/3717
|
|
34
|
+
- Fix HLS image track issues
|
|
35
|
+
- https://github.com/google/shaka-player/issues/3840
|
|
36
|
+
- Remove caption wrapper bgColor
|
|
37
|
+
- https://github.com/google/shaka-player/issues/3745
|
|
38
|
+
- https://github.com/google/shaka-player/pull/3838
|
|
39
|
+
- Support "forced-subtitle" role
|
|
40
|
+
- https://github.com/google/shaka-player/issues/3767
|
|
41
|
+
- https://github.com/google/shaka-player/pull/3807
|
|
42
|
+
- Fix time element height on Safari
|
|
43
|
+
- https://github.com/google/shaka-player/issues/3739
|
|
44
|
+
- https://github.com/google/shaka-player/pull/3809
|
|
45
|
+
|
|
46
|
+
|
|
1
47
|
## 3.2.2 (2022-01-06)
|
|
2
48
|
|
|
3
49
|
Bugfixes:
|
package/dist/controls.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2016 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
.shaka-hidden{display:none!important}.shaka-video-container{position:relative;top:0;left:0;display:flex}.shaka-video-container .material-icons-round{font-family:'Material Icons Round';font-size:24px}.shaka-video-container *{font-family:Roboto-Regular,Roboto,sans-serif}.shaka-video-container:fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-webkit-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-webkit-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-moz-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-moz-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-ms-fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:-ms-fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-controls-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;z-index:1}.shaka-video-container:not([shaka-controls=true]) .shaka-controls-container{display:none}.shaka-controls-container *{flex-shrink:0}.shaka-controls-container[casting=true] .shaka-fullscreen-button{display:none}.shaka-bottom-controls{width:96%;padding:0;padding-bottom:2.5%;z-index:1}.shaka-controls-button-panel{padding:0;margin:0;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;overflow:hidden;min-width:48px;font-size:12px;font-weight:400;font-style:normal;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s}.shaka-controls-container[casting=true] .shaka-controls-button-panel,.shaka-controls-container[shown=true] .shaka-controls-button-panel{opacity:1}.shaka-controls-button-panel>*{color:#fff;height:32px;line-height:.5;margin:1px 6px;padding:0;background:0 0;border:0;cursor:pointer}.shaka-controls-button-panel .shaka-overflow-menu-only{display:none}.shaka-play-button-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center}.shaka-scrim-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s;background:linear-gradient(to top,#000 0,rgba(0,0,0,0) 15%)}.shaka-controls-container[casting=true] .shaka-scrim-container,.shaka-controls-container[shown=true] .shaka-scrim-container{opacity:1}.shaka-text-container{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;bottom:0;width:100%;min-width:48px;transition:bottom cubic-bezier(.4,0,.6,1) .1s;transition-delay:.5s;font-size:20px;line-height:1.4;color:#fff}.shaka-text-container span.shaka-text-wrapper{display:inline;background:0 0}.shaka-controls-container[shown=true]~.shaka-text-container{bottom:15%;transition-delay:0s}.shaka-spinner-container{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;flex-shrink:1;display:flex;justify-content:center;align-items:center}.shaka-video-container:not([shaka-controls=true]) .shaka-spinner-container{display:none}.shaka-spinner{position:relative;top:0;left:0;margin:0;box-sizing:border-box;padding:7.8%;width:0;height:0;filter:drop-shadow(0 0 2px rgba(255, 255, 255, .5))}.shaka-play-button{box-sizing:border-box;padding:7.5%;width:0;height:0;margin:0;border-radius:50%;box-shadow:rgba(0,0,0,.1) 0 0 20px 0;border:none;background-size:50%;background-repeat:no-repeat;background-position:center center;background-color:rgba(255,255,255,.9);opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s}.shaka-controls-container[casting=true] .shaka-play-button,.shaka-controls-container[shown=true] .shaka-play-button{opacity:1}.shaka-play-button[icon=play]{background-image:url(data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M8%205v14l11-7z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E)}.shaka-play-button[icon=pause]{background-image:url(data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M6%2019h4V5H6v14zm8-14v14h4V5h-4z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E)}.shaka-current-time{font-size:14px;color:#fff;
|
|
6
|
+
.shaka-hidden{display:none!important}.shaka-video-container{position:relative;top:0;left:0;display:flex}.shaka-video-container .material-icons-round{font-family:'Material Icons Round';font-size:24px}.shaka-video-container *{font-family:Roboto-Regular,Roboto,sans-serif}.shaka-video-container:fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-webkit-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-webkit-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-moz-full-screen{width:100%;height:100%;background-color:#000}.shaka-video-container:-moz-full-screen .shaka-text-container{font-size:4.4vmin}.shaka-video-container:-ms-fullscreen{width:100%;height:100%;background-color:#000}.shaka-video-container:-ms-fullscreen .shaka-text-container{font-size:4.4vmin}.shaka-controls-container{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;z-index:1}.shaka-video-container:not([shaka-controls=true]) .shaka-controls-container{display:none}.shaka-controls-container *{flex-shrink:0}.shaka-controls-container[casting=true] .shaka-fullscreen-button{display:none}.shaka-bottom-controls{width:96%;padding:0;padding-bottom:2.5%;z-index:1}.shaka-controls-button-panel{padding:0;margin:0;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;overflow:hidden;min-width:48px;font-size:12px;font-weight:400;font-style:normal;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s}.shaka-controls-container[casting=true] .shaka-controls-button-panel,.shaka-controls-container[shown=true] .shaka-controls-button-panel{opacity:1}.shaka-controls-button-panel>*{color:#fff;height:32px;line-height:.5;margin:1px 6px;padding:0;background:0 0;border:0;cursor:pointer}.shaka-controls-button-panel .shaka-overflow-menu-only{display:none}.shaka-play-button-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center}.shaka-scrim-container{margin:0;width:100%;height:100%;flex-shrink:1;position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s;background:linear-gradient(to top,#000 0,rgba(0,0,0,0) 15%)}.shaka-controls-container[casting=true] .shaka-scrim-container,.shaka-controls-container[shown=true] .shaka-scrim-container{opacity:1}.shaka-text-container{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;bottom:0;width:100%;min-width:48px;transition:bottom cubic-bezier(.4,0,.6,1) .1s;transition-delay:.5s;font-size:20px;line-height:1.4;color:#fff}.shaka-text-container span.shaka-text-wrapper{display:inline;background:0 0}.shaka-controls-container[shown=true]~.shaka-text-container{bottom:15%;transition-delay:0s}.shaka-spinner-container{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;flex-shrink:1;display:flex;justify-content:center;align-items:center}.shaka-video-container:not([shaka-controls=true]) .shaka-spinner-container{display:none}.shaka-spinner{position:relative;top:0;left:0;margin:0;box-sizing:border-box;padding:7.8%;width:0;height:0;filter:drop-shadow(0 0 2px rgba(255, 255, 255, .5))}.shaka-play-button{box-sizing:border-box;padding:7.5%;width:0;height:0;margin:0;border-radius:50%;box-shadow:rgba(0,0,0,.1) 0 0 20px 0;border:none;background-size:50%;background-repeat:no-repeat;background-position:center center;background-color:rgba(255,255,255,.9);opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s}.shaka-controls-container[casting=true] .shaka-play-button,.shaka-controls-container[shown=true] .shaka-play-button{opacity:1}.shaka-play-button[icon=play]{background-image:url(data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M8%205v14l11-7z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E)}.shaka-play-button[icon=pause]{background-image:url(data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M6%2019h4V5H6v14zm8-14v14h4V5h-4z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E)}.shaka-current-time{font-size:14px;color:#fff;cursor:pointer}.shaka-current-time[disabled]{background-color:transparent;color:#fff;cursor:default}.shaka-controls-container button:focus,.shaka-controls-container input:focus{outline:1px solid Highlight}.shaka-controls-container button:-moz-focus-inner,.shaka-controls-container input:-moz-focus-outer{outline:0;border:0}.shaka-controls-container:not(.shaka-keyboard-navigation) button:focus,.shaka-controls-container:not(.shaka-keyboard-navigation) input:focus{outline:0}.shaka-range-container{position:relative;top:0;left:0;margin:4px 6px;height:4px;border-radius:4px;background:#fff}.shaka-volume-bar-container{width:100px}.shaka-range-element{-webkit-appearance:none;background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;height:12px;top:-4px;z-index:1}.shaka-range-element::-webkit-slider-runnable-track{width:100%;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-webkit-slider-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-range-element::-moz-range-track{width:100%;height:12px;background:0 0;color:transparent;border:none}.shaka-range-element::-moz-range-thumb{-webkit-appearance:none;border:none;border-radius:12px;height:12px;width:12px;background:#fff}.shaka-seek-bar-container{opacity:0;transition:opacity cubic-bezier(.4,0,.6,1) .6s}.shaka-controls-container[casting=true] .shaka-seek-bar-container,.shaka-controls-container[shown=true] .shaka-seek-bar-container{opacity:1}.shaka-ad-markers{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%}/*!
|
|
7
7
|
* @license
|
|
8
8
|
* The SVG/CSS buffering spinner is based on http://codepen.io/jczimm/pen/vEBpoL
|
|
9
9
|
* Some local modifications have been made.
|
|
@@ -27,4 +27,4 @@
|
|
|
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,.4);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-captions-on{color:#000}.shaka-captions-off{color:grey}.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 6px}.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:-2%;display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0,0,0,.7);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0,0,0,.3)}.shaka-skip-ad-counter{padding:5px 5px;background:rgba(0,0,0,.7);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v29/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/
|
|
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,.4);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-captions-on{color:#000}.shaka-captions-off{color:grey}.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 6px}.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:-2%;display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0,0,0,.7);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0,0,0,.3)}.shaka-skip-ad-counter{padding:5px 5px;background:rgba(0,0,0,.7);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v29/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/v94/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":["../ui/less/general.less","$stdin","../ui/less/containers.less","../ui/less/buttons.less","../ui/less/range_elements.less","../ui/less/spinner.less","../ui/less/other_elements.less","../ui/less/overflow_menu.less","../ui/less/ad_controls.less","../ui/https:/fonts.googleapis.com/css?family=Roboto","../ui/https:/fonts.googleapis.com/icon?family=Material+Icons+Round"],"names":[],"mappings":"AAqBA,cCNE,QDSA,eEZF,uBDwBE,SDgBA,SCPA,IDYA,EACA,KAAA,ECRA,QCjCA,KAGA,6CACE,YAAA,uBACA,UAAA,KAIF,yBACE,YAAA,eAAA,OAAA,WAsBkB,kCFrBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,wDDiCA,UC7BE,QAIkB,2CFtBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,iED4CA,UCxCE,QAKkB,wCFvBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,8DDuDA,UCnDE,QAMkB,sCFxBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,4DDkEA,UC9DE,QAoBJ,0BD2DE,SDtDA,SAGA,IAAA,EACA,KAAA,EACA,MAAA,EACA,OAAA,EACA,OAAA,EACA,QAAA,EAnDA,MAAA,KACA,OAAA,KE2CA,WAAA,WAGA,QAAA,KAGA,eAAA,OAGA,gBAAA,SAGA,YAAA,ODsEA,QC9DA,EF+BoD,4EAzGpD,QAAA,KEsEA,4BFUA,YAAA,EEFE,iEF9EF,QAAA,KEsFF,uBACE,MAAA,IACA,QAAA,EACA,eAAA,KDsEA,QC/DA,EAMF,6BAEE,QAAA,EACA,OAAA,EAGA,QAAA,KACA,eAAA,IAGA,gBAAA,SAGA,YAAA,OAGA,SAAA,OACA,UAAA,KDgEA,UC5DA,KACA,YAA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AGA,WAAA,eAAA,EAAA,EAAA,KAAA,EAGA,OAAA,KFiXA,gBE5WA,IACA,kBAAA,UACA,oBAAA,OAAA,OAGA,iBAAA,qBHwDA,QAAA,EAGA,WAAA,QAAA,wBAAA,IAK0C,2DADF,yDAEtC,QAAA,EGzDD,8BACC,iBAAkB,4UAGnB,+BACC,iBAAkB,8VAQtB,oBACE,UAAA,KACA,MAAA,
|
|
1
|
+
{"version":3,"sources":["../ui/less/general.less","$stdin","../ui/less/containers.less","../ui/less/buttons.less","../ui/less/range_elements.less","../ui/less/spinner.less","../ui/less/other_elements.less","../ui/less/overflow_menu.less","../ui/less/ad_controls.less","../ui/https:/fonts.googleapis.com/css?family=Roboto","../ui/https:/fonts.googleapis.com/icon?family=Material+Icons+Round"],"names":[],"mappings":"AAqBA,cCNE,QDSA,eEZF,uBDwBE,SDgBA,SCPA,IDYA,EACA,KAAA,ECRA,QCjCA,KAGA,6CACE,YAAA,uBACA,UAAA,KAIF,yBACE,YAAA,eAAA,OAAA,WAsBkB,kCFrBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,wDDiCA,UC7BE,QAIkB,2CFtBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,iED4CA,UCxCE,QAKkB,wCFvBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,8DDuDA,UCnDE,QAMkB,sCFxBpB,MAAA,KACA,OAAA,KEWA,iBAAA,KAEA,4DDkEA,UC9DE,QAoBJ,0BD2DE,SDtDA,SAGA,IAAA,EACA,KAAA,EACA,MAAA,EACA,OAAA,EACA,OAAA,EACA,QAAA,EAnDA,MAAA,KACA,OAAA,KE2CA,WAAA,WAGA,QAAA,KAGA,eAAA,OAGA,gBAAA,SAGA,YAAA,ODsEA,QC9DA,EF+BoD,4EAzGpD,QAAA,KEsEA,4BFUA,YAAA,EEFE,iEF9EF,QAAA,KEsFF,uBACE,MAAA,IACA,QAAA,EACA,eAAA,KDsEA,QC/DA,EAMF,6BAEE,QAAA,E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,KAQF,oCAEE,YAAA,EAIF,iCAEE,cAAA,KAKJ,iBAEE,KAAA,KAIF,mBACE,MAAA,KAIF,oBACE,MAAA,KC1IuB,0CAEvB,eAAA,KAGA,iEACE,eAAA,KAIJ,gCAAiC,gCPu4B/B,SDt0BA,SACA,KAAA,EACA,MAAA,EACA,IAAA,EACA,OAAA,EQ/DA,mFAAA,mFP+4BA,OO34BI,IAKN,gCRVE,MAAA,KACA,OAAA,KA2EA,YAAA,EQ9DK,sDACH,eAAA,KAIJ,mBAGE,QAAA,KACA,eAAA,IACA,QAAA,EPw4BA,eOp4BA,GRmEoD,qEAzGpD,QAAA,KQwCA,0BAAQ,uBACN,MAAA,KACA,UAAA,QAGK,mDRxBP,OAAA,IAAA,IQ6BF,kBAAmB,mBRnCjB,QAAA,KACA,gBAAA,SACA,eAAA,OC66BA,YOt8BA,IAAA,IAAA,IAAA,KA+DF,yBP44BE,SOz4BA,SP44BA,MOp4BA,IACA,QAAA,KACA,eAAA,IACA,OAAA,EAGF,sBACE,QAAA,IAAA,KACA,WAAA,eACA,OAAA,KAMA,OAAA,QAJC,+BACC,WAAA,eAMJ,uBACE,QAAA,IAAA,IACA,WAAA,eACA,OAAA,ECzGF,WACE,YAAa,OACb,WAAY,OACZ,YAAa,IACb,IAAK,qEAAoE,mBCJ3E,WACE,YAAa,uBACb,WAAY,OACZ,YAAa,IACb,IAAK,iGAAgG,mBAGvG,sBACE,YAAa,uBACb,YAAa,IACb,WAAY,OACZ,UAAW,KACX,YAAa,EACb,eAAgB,OAChB,eAAgB,KAChB,QAAS,aACT,YAAa,OACb,UAAW,OACX,UAAW"}
|
package/dist/locales.js
CHANGED
|
@@ -719,43 +719,43 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
719
719
|
* @const
|
|
720
720
|
*/
|
|
721
721
|
shaka.ui.Locales.Ids = {
|
|
722
|
-
|
|
723
|
-
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
722
|
+
OFF: 'OFF',
|
|
724
723
|
MUTE: 'MUTE',
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
RESOLUTION: 'RESOLUTION',
|
|
729
|
-
ON: 'ON',
|
|
730
|
-
LANGUAGE: 'LANGUAGE',
|
|
731
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
732
|
-
LIVE: 'LIVE',
|
|
724
|
+
PLAY: 'PLAY',
|
|
725
|
+
REWIND: 'REWIND',
|
|
726
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
733
727
|
UNMUTE: 'UNMUTE',
|
|
734
|
-
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
735
728
|
VOLUME: 'VOLUME',
|
|
736
|
-
CAPTIONS: 'CAPTIONS',
|
|
737
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
738
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
739
|
-
OFF: 'OFF',
|
|
740
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
741
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
742
|
-
PLAY: 'PLAY',
|
|
743
|
-
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
744
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
745
|
-
AD_TIME: 'AD_TIME',
|
|
746
729
|
CAST: 'CAST',
|
|
730
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
747
731
|
LOOP: 'LOOP',
|
|
748
|
-
|
|
732
|
+
LANGUAGE: 'LANGUAGE',
|
|
733
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
749
734
|
REPLAY: 'REPLAY',
|
|
735
|
+
CAPTIONS: 'CAPTIONS',
|
|
750
736
|
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
REWIND: 'REWIND',
|
|
757
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
737
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
738
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
739
|
+
AD_TIME: 'AD_TIME',
|
|
740
|
+
LIVE: 'LIVE',
|
|
741
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
758
742
|
SEEK: 'SEEK',
|
|
759
|
-
|
|
743
|
+
AIRPLAY: 'AIRPLAY',
|
|
744
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
760
745
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
746
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
747
|
+
AD_DURATION: 'AD_DURATION',
|
|
748
|
+
ON: 'ON',
|
|
749
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
750
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
751
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
752
|
+
RESOLUTION: 'RESOLUTION',
|
|
753
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
754
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
755
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
756
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
757
|
+
PAUSE: 'PAUSE',
|
|
758
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
759
|
+
BACK: 'BACK',
|
|
760
|
+
SKIP_AD: 'SKIP_AD',
|
|
761
761
|
};
|
|
@@ -1119,7 +1119,7 @@ declare namespace shaka.media {
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
class SegmentReference {
|
|
1121
1121
|
private noStructuralTyping_shaka_media_SegmentReference : any;
|
|
1122
|
-
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null ) ;
|
|
1122
|
+
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null ) ;
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Returns the offset from the start of the resource to the end of the
|
|
1125
1125
|
* segment, inclusive. A value of null indicates that the segment extends to
|
|
@@ -1139,6 +1139,11 @@ declare namespace shaka.media {
|
|
|
1139
1139
|
* Returns the segment's start time in seconds.
|
|
1140
1140
|
*/
|
|
1141
1141
|
getStartTime ( ) : number ;
|
|
1142
|
+
/**
|
|
1143
|
+
* Returns the segment's explicit tile duration.
|
|
1144
|
+
* Only defined in image segments.
|
|
1145
|
+
*/
|
|
1146
|
+
getTileDuration ( ) : number | null ;
|
|
1142
1147
|
/**
|
|
1143
1148
|
* Returns the segment's tiles layout. Only defined in image segments.
|
|
1144
1149
|
*/
|
|
@@ -1486,6 +1491,12 @@ declare namespace shaka.polyfill {
|
|
|
1486
1491
|
* Install the polyfill if needed.
|
|
1487
1492
|
*/
|
|
1488
1493
|
static install ( ) : any ;
|
|
1494
|
+
/**
|
|
1495
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
1496
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
1497
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
1498
|
+
*/
|
|
1499
|
+
static originalMcap : any | null ;
|
|
1489
1500
|
}
|
|
1490
1501
|
}
|
|
1491
1502
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
|
|
@@ -1619,6 +1630,7 @@ declare namespace shaka.text {
|
|
|
1619
1630
|
fontStyle : any ;
|
|
1620
1631
|
fontWeight : any ;
|
|
1621
1632
|
id : any ;
|
|
1633
|
+
isContainer : any ;
|
|
1622
1634
|
letterSpacing : any ;
|
|
1623
1635
|
line : any ;
|
|
1624
1636
|
/**
|
|
@@ -3661,7 +3673,7 @@ declare namespace shaka.extern {
|
|
|
3661
3673
|
}
|
|
3662
3674
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
|
|
3663
3675
|
declare namespace shaka.extern {
|
|
3664
|
-
type Thumbnail = { duration : number , height : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3676
|
+
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3665
3677
|
}
|
|
3666
3678
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
|
|
3667
3679
|
declare namespace shaka.extern {
|
|
@@ -3738,6 +3750,13 @@ declare namespace shaka.extern {
|
|
|
3738
3750
|
* Id of the cue.
|
|
3739
3751
|
*/
|
|
3740
3752
|
id : string ;
|
|
3753
|
+
/**
|
|
3754
|
+
* If true, this represents a container element that is "above" the main
|
|
3755
|
+
* cues. For example, the <body> and <div> tags that contain the <p> tags
|
|
3756
|
+
* in a TTML file. This controls the flow of the final cues; any nested cues
|
|
3757
|
+
* within an "isContainer" cue will be laid out as separate lines.
|
|
3758
|
+
*/
|
|
3759
|
+
isContainer : boolean ;
|
|
3741
3760
|
/**
|
|
3742
3761
|
* Text letter spacing as a CSS letter-spacing value.
|
|
3743
3762
|
*/
|
|
@@ -1119,7 +1119,7 @@ declare namespace shaka.media {
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
class SegmentReference {
|
|
1121
1121
|
private noStructuralTyping_shaka_media_SegmentReference : any;
|
|
1122
|
-
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null ) ;
|
|
1122
|
+
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null ) ;
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Returns the offset from the start of the resource to the end of the
|
|
1125
1125
|
* segment, inclusive. A value of null indicates that the segment extends to
|
|
@@ -1139,6 +1139,11 @@ declare namespace shaka.media {
|
|
|
1139
1139
|
* Returns the segment's start time in seconds.
|
|
1140
1140
|
*/
|
|
1141
1141
|
getStartTime ( ) : number ;
|
|
1142
|
+
/**
|
|
1143
|
+
* Returns the segment's explicit tile duration.
|
|
1144
|
+
* Only defined in image segments.
|
|
1145
|
+
*/
|
|
1146
|
+
getTileDuration ( ) : number | null ;
|
|
1142
1147
|
/**
|
|
1143
1148
|
* Returns the segment's tiles layout. Only defined in image segments.
|
|
1144
1149
|
*/
|
|
@@ -1486,6 +1491,12 @@ declare namespace shaka.polyfill {
|
|
|
1486
1491
|
* Install the polyfill if needed.
|
|
1487
1492
|
*/
|
|
1488
1493
|
static install ( ) : any ;
|
|
1494
|
+
/**
|
|
1495
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
1496
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
1497
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
1498
|
+
*/
|
|
1499
|
+
static originalMcap : any | null ;
|
|
1489
1500
|
}
|
|
1490
1501
|
}
|
|
1491
1502
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.debug.externs.js
|
|
@@ -1619,6 +1630,7 @@ declare namespace shaka.text {
|
|
|
1619
1630
|
fontStyle : any ;
|
|
1620
1631
|
fontWeight : any ;
|
|
1621
1632
|
id : any ;
|
|
1633
|
+
isContainer : any ;
|
|
1622
1634
|
letterSpacing : any ;
|
|
1623
1635
|
line : any ;
|
|
1624
1636
|
/**
|
|
@@ -3661,7 +3673,7 @@ declare namespace shaka.extern {
|
|
|
3661
3673
|
}
|
|
3662
3674
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
|
|
3663
3675
|
declare namespace shaka.extern {
|
|
3664
|
-
type Thumbnail = { duration : number , height : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3676
|
+
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3665
3677
|
}
|
|
3666
3678
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
|
|
3667
3679
|
declare namespace shaka.extern {
|
|
@@ -3738,6 +3750,13 @@ declare namespace shaka.extern {
|
|
|
3738
3750
|
* Id of the cue.
|
|
3739
3751
|
*/
|
|
3740
3752
|
id : string ;
|
|
3753
|
+
/**
|
|
3754
|
+
* If true, this represents a container element that is "above" the main
|
|
3755
|
+
* cues. For example, the <body> and <div> tags that contain the <p> tags
|
|
3756
|
+
* in a TTML file. This controls the flow of the final cues; any nested cues
|
|
3757
|
+
* within an "isContainer" cue will be laid out as separate lines.
|
|
3758
|
+
*/
|
|
3759
|
+
isContainer : boolean ;
|
|
3741
3760
|
/**
|
|
3742
3761
|
* Text letter spacing as a CSS letter-spacing value.
|
|
3743
3762
|
*/
|
|
@@ -168,6 +168,10 @@ shaka.text.Cue.prototype.id;
|
|
|
168
168
|
* @override
|
|
169
169
|
*/
|
|
170
170
|
shaka.text.Cue.prototype.nestedCues;
|
|
171
|
+
/**
|
|
172
|
+
* @override
|
|
173
|
+
*/
|
|
174
|
+
shaka.text.Cue.prototype.isContainer;
|
|
171
175
|
/**
|
|
172
176
|
* @override
|
|
173
177
|
*/
|
|
@@ -1524,8 +1528,12 @@ shaka.media.SegmentReference = class {
|
|
|
1524
1528
|
* The value is a grid-item-dimension consisting of two positive decimal
|
|
1525
1529
|
* integers in the format: column-x-row ('4x3'). It describes the
|
|
1526
1530
|
* arrangement of Images in a Grid. The minimum valid LAYOUT is '1x1'.
|
|
1531
|
+
* @param {?number=} tileDuration
|
|
1532
|
+
* The explicit duration of an individual tile within the tiles grid.
|
|
1533
|
+
* If not provided, the duration should be automatically calculated based on
|
|
1534
|
+
* the duration of the reference.
|
|
1527
1535
|
*/
|
|
1528
|
-
constructor(startTime, endTime, uris, startByte, endByte, initSegmentReference, timestampOffset, appendWindowStart, appendWindowEnd, partialReferences, tilesLayout) {}
|
|
1536
|
+
constructor(startTime, endTime, uris, startByte, endByte, initSegmentReference, timestampOffset, appendWindowStart, appendWindowEnd, partialReferences, tilesLayout, tileDuration) {}
|
|
1529
1537
|
/**
|
|
1530
1538
|
* Creates and returns the URIs of the resource containing the segment.
|
|
1531
1539
|
* @return {!Array.<string>}
|
|
@@ -1559,6 +1567,12 @@ shaka.media.SegmentReference = class {
|
|
|
1559
1567
|
* @return {?string}
|
|
1560
1568
|
*/
|
|
1561
1569
|
getTilesLayout() {}
|
|
1570
|
+
/**
|
|
1571
|
+
* Returns the segment's explicit tile duration.
|
|
1572
|
+
* Only defined in image segments.
|
|
1573
|
+
* @return {?number}
|
|
1574
|
+
*/
|
|
1575
|
+
getTileDuration() {}
|
|
1562
1576
|
};
|
|
1563
1577
|
/**
|
|
1564
1578
|
* PresentationTimeline.
|
|
@@ -3469,6 +3483,13 @@ shaka.polyfill.MediaCapabilities = class {
|
|
|
3469
3483
|
*/
|
|
3470
3484
|
static install() {}
|
|
3471
3485
|
};
|
|
3486
|
+
/**
|
|
3487
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
3488
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
3489
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
3490
|
+
* @type {MediaCapabilities}
|
|
3491
|
+
*/
|
|
3492
|
+
shaka.polyfill.MediaCapabilities.originalMcap;
|
|
3472
3493
|
/**
|
|
3473
3494
|
* @summary A polyfill to patch MSE bugs.
|
|
3474
3495
|
*/
|