shaka-player 3.1.4 → 3.1.5
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 +39 -0
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/locales.js +29 -29
- package/dist/shaka-player.compiled.d.ts +14 -0
- package/dist/shaka-player.compiled.debug.d.ts +14 -0
- package/dist/shaka-player.compiled.debug.externs.js +11 -0
- package/dist/shaka-player.compiled.debug.js +170 -168
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +11 -0
- package/dist/shaka-player.compiled.js +650 -650
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.d.ts +14 -0
- package/dist/shaka-player.ui.debug.d.ts +14 -0
- package/dist/shaka-player.ui.debug.externs.js +11 -0
- package/dist/shaka-player.ui.debug.js +178 -176
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +11 -0
- package/dist/shaka-player.ui.js +792 -792
- package/dist/shaka-player.ui.map +2 -2
- package/externs/shaka/text.js +10 -0
- package/lib/dash/dash_parser.js +4 -2
- package/lib/media/streaming_engine.js +5 -2
- package/lib/player.js +1 -1
- 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 +58 -7
- 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_unit.js +5 -5
- 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 +35 -29
- 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,42 @@
|
|
|
1
|
+
## 3.1.5 (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
|
+
- Fix text UI not updating when text is disabled
|
|
14
|
+
- https://github.com/google/shaka-player/issues/3728
|
|
15
|
+
- https://github.com/google/shaka-player/pull/3867
|
|
16
|
+
- Clear buffer on seek if mediaState is updating
|
|
17
|
+
- https://github.com/google/shaka-player/issues/3299
|
|
18
|
+
- https://github.com/google/shaka-player/pull/3795
|
|
19
|
+
- Made nested cues inherit region
|
|
20
|
+
- https://github.com/google/shaka-player/issues/3743
|
|
21
|
+
- https://github.com/google/shaka-player/pull/3837
|
|
22
|
+
- Fix MediaCapabilities polyfill on Safari
|
|
23
|
+
- https://github.com/google/shaka-player/issues/3696
|
|
24
|
+
- https://github.com/google/shaka-player/issues/3530
|
|
25
|
+
- Fix usage of Shaka without polyfills
|
|
26
|
+
- https://github.com/google/shaka-player/issues/3843
|
|
27
|
+
- Fix playback failure due to rounding errors
|
|
28
|
+
- https://github.com/google/shaka-player/issues/3717
|
|
29
|
+
- Remove caption wrapper bgColor
|
|
30
|
+
- https://github.com/google/shaka-player/issues/3745
|
|
31
|
+
- https://github.com/google/shaka-player/pull/3838
|
|
32
|
+
- Support "forced-subtitle" role
|
|
33
|
+
- https://github.com/google/shaka-player/issues/3767
|
|
34
|
+
- https://github.com/google/shaka-player/pull/3807
|
|
35
|
+
- Fix time element height on Safari
|
|
36
|
+
- https://github.com/google/shaka-player/issues/3739
|
|
37
|
+
- https://github.com/google/shaka-player/pull/3809
|
|
38
|
+
|
|
39
|
+
|
|
1
40
|
## 3.1.4 (2022-01-06)
|
|
2
41
|
|
|
3
42
|
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,IDY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F1KA,MAAA,KACA,OAAA,KA2EA,YAAA,ECwKA,SDxLA,SACA,KAAA,EACA,MAAA,EACA,IAAA,EACA,OAAA,EAiBA,QAAA,EAGA,WAAA,QAAA,wBAAA,IC6KA,WChFA,iDFxF0C,+DADF,6DAEtC,QAAA,EE0FJ,sBDsFE,SD9MA,SACA,KAAA,EACA,MAAA,EACA,IAAA,EACA,OAAA,ECkNA,eCxFA,KAGA,OAAA,EACA,MAAA,KACA,UAAA,KD2FA,WCnFmB,OAAnB,wBAAA,IACA,iBAAA,IAGA,UAAA,KACA,YAAA,IACA,MAAA,KAEI,8CACF,QAAA,OACA,WAAA,IAIoC,4DDuFtC,OCpFA,IDuFA,iBCnFA,GAIF,yBDqFE,SDzPA,SACA,KAAA,EACA,MAAA,EACA,IAAA,EACA,OAAA,EAhEA,MAAA,KACA,OAAA,KEoOA,YAAA,EACA,QAAA,KACA,gBAAA,OACA,YAAA,OFzIoD,2EAzGpD,QAAA,KEuPF,eD6FE,SDlTA,SC8TA,IDzTA,EACA,KAAA,EEwNA,OAAA,EACA,WAAA,WACA,QAAA,KACA,MAAA,EACA,OAAA,EDsGA,OClGA,6CCvQF,mBFqXE,WE7WA,WACA,QAAA,KACA,MAAA,EACA,OAAA,EFqXA,OEjXA,EAGA,cAAA,IAGA,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","../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GK,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
|
-
SEEK: 'SEEK',
|
|
723
|
-
PAUSE: 'PAUSE',
|
|
724
|
-
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
725
722
|
ON: 'ON',
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
723
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
724
|
+
LANGUAGE: 'LANGUAGE',
|
|
725
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
726
|
+
AD_DURATION: 'AD_DURATION',
|
|
729
727
|
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
730
|
-
|
|
728
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
729
|
+
SEEK: 'SEEK',
|
|
730
|
+
LIVE: 'LIVE',
|
|
731
|
+
PAUSE: 'PAUSE',
|
|
732
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
731
733
|
BACK: 'BACK',
|
|
732
|
-
|
|
734
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
733
735
|
REWIND: 'REWIND',
|
|
736
|
+
UNMUTE: 'UNMUTE',
|
|
737
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
738
|
+
CAPTIONS: 'CAPTIONS',
|
|
739
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
734
740
|
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
735
|
-
|
|
741
|
+
AIRPLAY: 'AIRPLAY',
|
|
742
|
+
CAST: 'CAST',
|
|
743
|
+
REPLAY: 'REPLAY',
|
|
736
744
|
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
737
|
-
VOLUME: 'VOLUME',
|
|
738
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
739
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
740
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
741
745
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
746
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
747
|
+
VOLUME: 'VOLUME',
|
|
748
|
+
MUTE: 'MUTE',
|
|
749
|
+
LOOP: 'LOOP',
|
|
750
|
+
AD_TIME: 'AD_TIME',
|
|
751
|
+
RESOLUTION: 'RESOLUTION',
|
|
745
752
|
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
746
|
-
REPLAY: 'REPLAY',
|
|
747
753
|
AD_PROGRESS: 'AD_PROGRESS',
|
|
748
|
-
CAST: 'CAST',
|
|
749
|
-
CAPTIONS: 'CAPTIONS',
|
|
750
|
-
RESOLUTION: 'RESOLUTION',
|
|
751
|
-
AD_DURATION: 'AD_DURATION',
|
|
752
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
753
|
-
LANGUAGE: 'LANGUAGE',
|
|
754
|
-
LIVE: 'LIVE',
|
|
755
|
-
UNMUTE: 'UNMUTE',
|
|
756
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
757
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
758
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
759
754
|
PLAY: 'PLAY',
|
|
760
|
-
|
|
755
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
756
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
757
|
+
SKIP_AD: 'SKIP_AD',
|
|
758
|
+
OFF: 'OFF',
|
|
759
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
760
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
761
761
|
};
|
|
@@ -1448,6 +1448,12 @@ declare namespace shaka.polyfill {
|
|
|
1448
1448
|
* Install the polyfill if needed.
|
|
1449
1449
|
*/
|
|
1450
1450
|
static install ( ) : any ;
|
|
1451
|
+
/**
|
|
1452
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
1453
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
1454
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
1455
|
+
*/
|
|
1456
|
+
static originalMcap : any | null ;
|
|
1451
1457
|
}
|
|
1452
1458
|
}
|
|
1453
1459
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
|
|
@@ -1581,6 +1587,7 @@ declare namespace shaka.text {
|
|
|
1581
1587
|
fontStyle : any ;
|
|
1582
1588
|
fontWeight : any ;
|
|
1583
1589
|
id : any ;
|
|
1590
|
+
isContainer : any ;
|
|
1584
1591
|
letterSpacing : any ;
|
|
1585
1592
|
line : any ;
|
|
1586
1593
|
/**
|
|
@@ -3690,6 +3697,13 @@ declare namespace shaka.extern {
|
|
|
3690
3697
|
* Id of the cue.
|
|
3691
3698
|
*/
|
|
3692
3699
|
id : string ;
|
|
3700
|
+
/**
|
|
3701
|
+
* If true, this represents a container element that is "above" the main
|
|
3702
|
+
* cues. For example, the <body> and <div> tags that contain the <p> tags
|
|
3703
|
+
* in a TTML file. This controls the flow of the final cues; any nested cues
|
|
3704
|
+
* within an "isContainer" cue will be laid out as separate lines.
|
|
3705
|
+
*/
|
|
3706
|
+
isContainer : boolean ;
|
|
3693
3707
|
/**
|
|
3694
3708
|
* Text letter spacing as a CSS letter-spacing value.
|
|
3695
3709
|
*/
|
|
@@ -1448,6 +1448,12 @@ declare namespace shaka.polyfill {
|
|
|
1448
1448
|
* Install the polyfill if needed.
|
|
1449
1449
|
*/
|
|
1450
1450
|
static install ( ) : any ;
|
|
1451
|
+
/**
|
|
1452
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
1453
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
1454
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
1455
|
+
*/
|
|
1456
|
+
static originalMcap : any | null ;
|
|
1451
1457
|
}
|
|
1452
1458
|
}
|
|
1453
1459
|
// Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.debug.externs.js
|
|
@@ -1581,6 +1587,7 @@ declare namespace shaka.text {
|
|
|
1581
1587
|
fontStyle : any ;
|
|
1582
1588
|
fontWeight : any ;
|
|
1583
1589
|
id : any ;
|
|
1590
|
+
isContainer : any ;
|
|
1584
1591
|
letterSpacing : any ;
|
|
1585
1592
|
line : any ;
|
|
1586
1593
|
/**
|
|
@@ -3690,6 +3697,13 @@ declare namespace shaka.extern {
|
|
|
3690
3697
|
* Id of the cue.
|
|
3691
3698
|
*/
|
|
3692
3699
|
id : string ;
|
|
3700
|
+
/**
|
|
3701
|
+
* If true, this represents a container element that is "above" the main
|
|
3702
|
+
* cues. For example, the <body> and <div> tags that contain the <p> tags
|
|
3703
|
+
* in a TTML file. This controls the flow of the final cues; any nested cues
|
|
3704
|
+
* within an "isContainer" cue will be laid out as separate lines.
|
|
3705
|
+
*/
|
|
3706
|
+
isContainer : boolean ;
|
|
3693
3707
|
/**
|
|
3694
3708
|
* Text letter spacing as a CSS letter-spacing value.
|
|
3695
3709
|
*/
|
|
@@ -715,6 +715,10 @@ shaka.text.Cue.prototype.id;
|
|
|
715
715
|
* @override
|
|
716
716
|
*/
|
|
717
717
|
shaka.text.Cue.prototype.nestedCues;
|
|
718
|
+
/**
|
|
719
|
+
* @override
|
|
720
|
+
*/
|
|
721
|
+
shaka.text.Cue.prototype.isContainer;
|
|
718
722
|
/**
|
|
719
723
|
* @override
|
|
720
724
|
*/
|
|
@@ -3409,6 +3413,13 @@ shaka.polyfill.MediaCapabilities = class {
|
|
|
3409
3413
|
*/
|
|
3410
3414
|
static install() {}
|
|
3411
3415
|
};
|
|
3416
|
+
/**
|
|
3417
|
+
* A copy of the MediaCapabilities instance, to prevent Safari from
|
|
3418
|
+
* garbage-collecting the polyfilled method on it. We make it public and export
|
|
3419
|
+
* it to ensure that it is not stripped out by the compiler.
|
|
3420
|
+
* @type {MediaCapabilities}
|
|
3421
|
+
*/
|
|
3422
|
+
shaka.polyfill.MediaCapabilities.originalMcap;
|
|
3412
3423
|
/**
|
|
3413
3424
|
* @summary A polyfill to patch MSE bugs.
|
|
3414
3425
|
*/
|