@antmedia/web_player 2.11.1 → 2.11.2

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.
Files changed (41) hide show
  1. package/dist/browser/web_player.js +4 -6
  2. package/dist/es/{plugin-ca799d0d.js → plugin-50e1316e.js} +134 -144
  3. package/dist/es/{video.es-0951ae41.js → video.es-be70c095.js} +36 -41
  4. package/dist/es/{videojs-webrtc-plugin-327afa5e.js → videojs-webrtc-plugin-7054aa21.js} +1 -1
  5. package/dist/es/videojs-webrtc-plugin-f56e1f9e.js +3 -0
  6. package/dist/es/{video.es-22056625.js → videojs-webrtc-plugin.es-2a0dfc29.js} +14968 -5052
  7. package/dist/es/videojs-webrtc-plugin.es-333788d9.js +7673 -0
  8. package/dist/es/{videojs-webrtc-plugin.es-f41400f7.js → videojs-webrtc-plugin.es-777bf41a.js} +1747 -1697
  9. package/dist/es/{videojs-webrtc-plugin.es-bd0b1a6d.js → videojs-webrtc-plugin.es-9544f6e0.js} +1563 -1672
  10. package/dist/es/web_player.js +7 -9
  11. package/dist/index.d.ts +17 -1
  12. package/dist/{plugin-84ab2cdd.js → plugin-bec9dc4a.js} +136 -146
  13. package/dist/{video.es-474303e7.js → video.es-df9af03d.js} +36 -43
  14. package/dist/{videojs-webrtc-plugin-bdf9fa8b.js → videojs-webrtc-plugin-3becde8c.js} +1 -1
  15. package/dist/videojs-webrtc-plugin-77a9860b.js +5 -0
  16. package/dist/{videojs-webrtc-plugin.es-72234e77.js → videojs-webrtc-plugin.es-0787d11e.js} +1575 -1684
  17. package/dist/{video.es-72122d04.js → videojs-webrtc-plugin.es-493b195e.js} +14964 -5052
  18. package/dist/videojs-webrtc-plugin.es-8f4ea4e4.js +7675 -0
  19. package/dist/{videojs-webrtc-plugin.es-ac81d249.js → videojs-webrtc-plugin.es-ee6d0333.js} +1757 -1707
  20. package/dist/web_player.js +7 -9
  21. package/package.json +3 -5
  22. package/rollup.config.module.cjs +6 -2
  23. package/src/web_player.js +4 -6
  24. package/test/embedded-player.test.js +1 -1
  25. package/tsconfig.json +0 -1
  26. package/dist/aframe-master-42bb78a9.js +0 -7139
  27. package/dist/dash.all.min-84806d51.js +0 -36
  28. package/dist/es/aframe-master-a6146619.js +0 -7137
  29. package/dist/es/dash.all.min-4a2772b6.js +0 -34
  30. package/dist/es/inheritsLoose-91dc2acc.js +0 -15
  31. package/dist/es/video-js.min-8b4dfe88.js +0 -3
  32. package/dist/es/videojs-contrib-quality-levels.es-1ea32822.js +0 -276
  33. package/dist/es/videojs-contrib-quality-levels.es-5f5b5f23.js +0 -287
  34. package/dist/es/videojs-hls-quality-selector.es-3c54e1cd.js +0 -391
  35. package/dist/es/videojs-webrtc-plugin-b9e4da27.js +0 -3
  36. package/dist/inheritsLoose-281376c7.js +0 -17
  37. package/dist/video-js.min-7e4ae47a.js +0 -5
  38. package/dist/videojs-contrib-quality-levels.es-6c3be3eb.js +0 -278
  39. package/dist/videojs-contrib-quality-levels.es-ef3cec9e.js +0 -289
  40. package/dist/videojs-hls-quality-selector.es-562309df.js +0 -393
  41. package/dist/videojs-webrtc-plugin-d30c3e7a.js +0 -5
@@ -1,15 +0,0 @@
1
- function _setPrototypeOf(o, p) {
2
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
3
- o.__proto__ = p;
4
- return o;
5
- };
6
- return _setPrototypeOf(o, p);
7
- }
8
-
9
- function _inheritsLoose(subClass, superClass) {
10
- subClass.prototype = Object.create(superClass.prototype);
11
- subClass.prototype.constructor = subClass;
12
- _setPrototypeOf(subClass, superClass);
13
- }
14
-
15
- export { _inheritsLoose as _ };
@@ -1,3 +0,0 @@
1
- var videoJs_min = "@charset \"UTF-8\";.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.vjs-button>.vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABDkAAsAAAAAG6gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV3hY21hcAAAAYQAAADaAAADPv749/pnbHlmAAACYAAAC3AAABHQZg6OcWhlYWQAAA3QAAAAKwAAADYZw251aGhlYQAADfwAAAAdAAAAJA+RCLFobXR4AAAOHAAAABMAAACM744AAGxvY2EAAA4wAAAASAAAAEhF6kqubWF4cAAADngAAAAfAAAAIAE0AIFuYW1lAAAOmAAAASUAAAIK1cf1oHBvc3QAAA/AAAABJAAAAdPExYuNeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS7wTiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGJHcRdyA4RZgQRADK3CxEAAHic7dFZbsMgAEXRS0ycyZnnOeG7y+qC8pU1dHusIOXxuoxaOlwZYWQB0Aea4quIEN4E9LzKbKjzDeM6H/mua6Lmc/p8yhg0lvdYx15ZG8uOLQOGjMp3EzqmzJizYMmKNRu27Nhz4MiJMxeu3Ljz4Ekqm7T8P52G8PP3lnTOVk++Z6iN6QZzNN1F7ptuN7eGOjDUoaGODHVsuvU8MdTO9Hd5aqgzQ50b6sJQl4a6MtS1oW4MdWuoO0PdG+rBUI+GejLUs6FeDPVqqDdDvRvqw1CfhpqM9At0iFLaAAB4nJ1YDXBTVRZ+5/22TUlJ8we0pHlJm7RJf5O8F2j6EymlSPkpxaL8U2xpa3DKj0CBhc2IW4eWKSokIoLsuMqssM64f+jA4HSdWXXXscBq67IOs3FXZ1ZYWVyRFdo899yXtIBQZ90k7717zz3v3HPPOfd854YCCj9cL9dL0RQFOqCbGJ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Kc+V0Bqs5Zt9JM1HQGBRTm/EezTmZNKtpcAMs9Yu6AK9caF76zoLWIWcfMGOSkVduvSWechqZsz040Ib2PY3urxBJTzriT95lipz+TN1fmAAAAeJxtkMl2wjAMRfOAhABlKm2h80C3+ajgCKKDY6cegP59TYBzukAL+z1Zsq8ctaJTTKPrsUQLbXQQI0EXKXroY4AbDDHCGBNMcYsZ7nCPB8yxwCOe8IwXvOIN7/jAJ76wxHfUqWX+OzgumWAjJMV17i0Ndlr6irLKO+qftdT7i6y4uFSUvCknay+lFYZIZaQcmfH/xIFdYn98bqhra1aKTM/6lWMnyaYirx1rFUQZFBkb2zJUtoXeJCeg0WnLtHeSFc3OtrnozNwqi0TkSpBMDB1nSde5oJXW23hTS2/T0LilglXX7dmFVxLnq5U0vYATHFk3zX3BOisoQHNDFDeZnqKDy9hRNawN7Vh727hFzcJ5c8TILrKZfH7tIPxAFP0BpLeJPA==) format(\"woff\");font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.vjs-icon-play:before{content:\"\\f101\"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:\"\\f102\"}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,.vjs-icon-pause:before{content:\"\\f103\"}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before,.vjs-icon-volume-mute:before{content:\"\\f104\"}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before,.vjs-icon-volume-low:before{content:\"\\f105\"}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before,.vjs-icon-volume-mid:before{content:\"\\f106\"}.video-js .vjs-mute-control .vjs-icon-placeholder,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control .vjs-icon-placeholder:before,.vjs-icon-volume-high:before{content:\"\\f107\"}.video-js .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-enter:before{content:\"\\f108\"}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-exit:before{content:\"\\f109\"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:\"\\f10a\"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:\"\\f10b\"}.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-subtitles:before{content:\"\\f10c\"}.video-js .vjs-captions-button .vjs-icon-placeholder,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button .vjs-icon-placeholder:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-captions:before{content:\"\\f10d\"}.video-js .vjs-chapters-button .vjs-icon-placeholder,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button .vjs-icon-placeholder:before,.vjs-icon-chapters:before{content:\"\\f10e\"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:\"\\f10f\"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:\"\\f110\"}.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle,.vjs-seek-to-live-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before,.vjs-seek-to-live-control .vjs-icon-placeholder:before{content:\"\\f111\"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:\"\\f112\"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:\"\\f113\"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:\"\\f114\"}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before,.vjs-icon-cancel:before{content:\"\\f115\"}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,.vjs-icon-replay:before{content:\"\\f116\"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:\"\\f117\"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:\"\\f118\"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:\"\\f119\"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:\"\\f11a\"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:\"\\f11b\"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:\"\\f11c\"}.video-js .vjs-descriptions-button .vjs-icon-placeholder,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button .vjs-icon-placeholder:before,.vjs-icon-audio-description:before{content:\"\\f11d\"}.video-js .vjs-audio-button .vjs-icon-placeholder,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button .vjs-icon-placeholder:before,.vjs-icon-audio:before{content:\"\\f11e\"}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:\"\\f11f\"}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:\"\\f120\"}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-enter:before{content:\"\\f121\"}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-exit:before{content:\"\\f122\"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:initial}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex=\"-1\"]{outline:0}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.video-js.vjs-1-1,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-fluid{width:100%;max-width:100%}.video-js.vjs-1-1:not(.vjs-audio-only-mode),.video-js.vjs-16-9:not(.vjs-audio-only-mode),.video-js.vjs-4-3:not(.vjs-audio-only-mode),.video-js.vjs-9-16:not(.vjs-audio-only-mode),.video-js.vjs-fluid:not(.vjs-audio-only-mode){height:0}.video-js.vjs-16-9:not(.vjs-audio-only-mode){padding-top:56.25%}.video-js.vjs-4-3:not(.vjs-audio-only-mode){padding-top:75%}.video-js.vjs-9-16:not(.vjs-audio-only-mode){padding-top:177.7777777778%}.video-js.vjs-1-1:not(.vjs-audio-only-mode){padding-top:100%}.video-js.vjs-fill:not(.vjs-audio-only-mode){width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js.vjs-audio-only-mode .vjs-tech{display:none}body.vjs-full-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs){width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.63332em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.81666em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button{display:block}.video-js button{background:0 0;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),rgba(255,255,255,0));overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.js-focus-visible .vjs-menu li.vjs-menu-item:hover,.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:rgba(115,133,159,.5)}.js-focus-visible .vjs-menu li.vjs-selected:hover,.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.js-focus-visible .vjs-menu :not(.vjs-selected):focus:not(.focus-visible),.video-js .vjs-menu :not(.vjs-selected):focus:not(:focus-visible){background:0 0}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em 0;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-audio-only-mode .vjs-control-bar,.vjs-has-started .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio-only-mode.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible;pointer-events:auto}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;flex:none}.video-js .vjs-control.vjs-visible-text{width:auto;padding-left:1em;padding-right:1em}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.vjs-button>.vjs-icon-placeholder{display:block}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js :not(.vjs-visible-text)>.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;top:-.3333333333em;z-index:1}.video-js .vjs-load-progress{background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:rgba(115,133,159,.75)}.video-js .vjs-time-tooltip{background-color:#fff;background-color:rgba(255,255,255,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em 0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;margin-right:0}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical{left:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active{width:10em;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;visibility:visible;opacity:1;position:relative;transition:none}.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical,.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{position:absolute;bottom:3em;left:.5em}.video-js .vjs-volume-panel{display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:1}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:1}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:rgba(255,255,255,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:1}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.vjs-no-flex .vjs-volume-control .vjs-mouse-display{z-index:0}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-volume-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.vjs-poster{display:inline-block;vertical-align:middle;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster,.vjs-has-started.vjs-audio-poster-mode .vjs-poster{display:block}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js.vjs-liveui .vjs-live-control,.video-js:not(.vjs-live) .vjs-live-control{display:none}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.vjs-no-flex .vjs-seek-to-live-control{display:table-cell;width:auto;text-align:left}.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control{display:none}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.video-js .vjs-time-control{flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.vjs-live .vjs-time-control{display:none}.video-js .vjs-current-time,.vjs-no-flex .vjs-current-time{display:none}.video-js .vjs-duration,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-controls-disabled video::-webkit-media-text-track-display,.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js .vjs-picture-in-picture-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-picture-in-picture-control{display:none}.video-js .vjs-fullscreen-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-fullscreen-control{display:none}.vjs-playback-rate .vjs-playback-rate-value,.vjs-playback-rate>.vjs-menu-button{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:\"X\";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block;-webkit-animation:vjs-spinner-show 0s linear .3s forwards;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:\"\";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@-webkit-keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{100%{transform:rotate(360deg)}}@-webkit-keyframes vjs-spinner-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}100%{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}100%{border-top-color:#73859f}}.video-js.vjs-audio-only-mode .vjs-captions-button{display:none}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-audio-only-mode .vjs-descriptions-button{display:none}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:\"\";font-size:1.5em;line-height:inherit}.video-js.vjs-audio-only-mode .vjs-subs-caps-button{display:none}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:\" \";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-volume-control{display:none}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover{width:auto;width:initial}.video-js.vjs-layout-tiny .vjs-progress-control,.video-js.vjs-layout-x-small .vjs-progress-control{display:none}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.video-js.vjs-layout-x-small.vjs-no-flex .vjs-custom-control-spacer{width:auto}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;height:70%}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-controls,.vjs-text-track-settings .vjs-track-settings-font{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display:grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0 24px}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:5px;padding:3px;border:none}.vjs-text-track-settings fieldset span{display:inline-block}.vjs-text-track-settings fieldset span>select{max-width:7.3em}.vjs-text-track-settings legend{color:#fff;margin:0 0 5px 0}.vjs-text-track-settings .vjs-label{position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);display:block;margin:0 0 5px 0;padding:0;border:0;height:1px;width:1px;overflow:hidden}.vjs-track-settings-controls button:active,.vjs-track-settings-controls button:focus{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f 100%)}.vjs-track-settings-controls button:hover{color:rgba(43,51,63,.75)}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f 100%);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js :focus:not(.focus-visible){outline:0}.video-js :focus:not(:focus-visible){outline:0}";
2
-
3
- export { videoJs_min as default };
@@ -1,276 +0,0 @@
1
- import { v as videojs } from './video.es-0951ae41.js';
2
- import './_commonjsHelpers-7d1333e8.js';
3
-
4
- /*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */
5
-
6
- /**
7
- * A single QualityLevel.
8
- *
9
- * interface QualityLevel {
10
- * readonly attribute DOMString id;
11
- * attribute DOMString label;
12
- * readonly attribute long width;
13
- * readonly attribute long height;
14
- * readonly attribute long bitrate;
15
- * attribute boolean enabled;
16
- * };
17
- *
18
- * @class QualityLevel
19
- */
20
- class QualityLevel {
21
- /**
22
- * Creates a QualityLevel
23
- *
24
- * @param {Representation|Object} representation The representation of the quality level
25
- * @param {string} representation.id Unique id of the QualityLevel
26
- * @param {number=} representation.width Resolution width of the QualityLevel
27
- * @param {number=} representation.height Resolution height of the QualityLevel
28
- * @param {number} representation.bandwidth Bitrate of the QualityLevel
29
- * @param {number=} representation.frameRate Frame-rate of the QualityLevel
30
- * @param {Function} representation.enabled Callback to enable/disable QualityLevel
31
- */
32
- constructor(representation) {
33
- let level = this; // eslint-disable-line
34
-
35
- level.id = representation.id;
36
- level.label = level.id;
37
- level.width = representation.width;
38
- level.height = representation.height;
39
- level.bitrate = representation.bandwidth;
40
- level.frameRate = representation.frameRate;
41
- level.enabled_ = representation.enabled;
42
- Object.defineProperty(level, 'enabled', {
43
- /**
44
- * Get whether the QualityLevel is enabled.
45
- *
46
- * @return {boolean} True if the QualityLevel is enabled.
47
- */
48
- get() {
49
- return level.enabled_();
50
- },
51
- /**
52
- * Enable or disable the QualityLevel.
53
- *
54
- * @param {boolean} enable true to enable QualityLevel, false to disable.
55
- */
56
- set(enable) {
57
- level.enabled_(enable);
58
- }
59
- });
60
- return level;
61
- }
62
- }
63
-
64
- /**
65
- * A list of QualityLevels.
66
- *
67
- * interface QualityLevelList : EventTarget {
68
- * getter QualityLevel (unsigned long index);
69
- * readonly attribute unsigned long length;
70
- * readonly attribute long selectedIndex;
71
- *
72
- * void addQualityLevel(QualityLevel qualityLevel)
73
- * void removeQualityLevel(QualityLevel remove)
74
- * QualityLevel? getQualityLevelById(DOMString id);
75
- *
76
- * attribute EventHandler onchange;
77
- * attribute EventHandler onaddqualitylevel;
78
- * attribute EventHandler onremovequalitylevel;
79
- * };
80
- *
81
- * @extends videojs.EventTarget
82
- * @class QualityLevelList
83
- */
84
- class QualityLevelList extends videojs.EventTarget {
85
- /**
86
- * Creates a QualityLevelList.
87
- */
88
- constructor() {
89
- super();
90
- let list = this; // eslint-disable-line
91
-
92
- list.levels_ = [];
93
- list.selectedIndex_ = -1;
94
-
95
- /**
96
- * Get the index of the currently selected QualityLevel.
97
- *
98
- * @returns {number} The index of the selected QualityLevel. -1 if none selected.
99
- * @readonly
100
- */
101
- Object.defineProperty(list, 'selectedIndex', {
102
- get() {
103
- return list.selectedIndex_;
104
- }
105
- });
106
-
107
- /**
108
- * Get the length of the list of QualityLevels.
109
- *
110
- * @returns {number} The length of the list.
111
- * @readonly
112
- */
113
- Object.defineProperty(list, 'length', {
114
- get() {
115
- return list.levels_.length;
116
- }
117
- });
118
- list[Symbol.iterator] = () => list.levels_.values();
119
- return list;
120
- }
121
-
122
- /**
123
- * Adds a quality level to the list.
124
- *
125
- * @param {Representation|Object} representation The representation of the quality level
126
- * @param {string} representation.id Unique id of the QualityLevel
127
- * @param {number=} representation.width Resolution width of the QualityLevel
128
- * @param {number=} representation.height Resolution height of the QualityLevel
129
- * @param {number} representation.bandwidth Bitrate of the QualityLevel
130
- * @param {number=} representation.frameRate Frame-rate of the QualityLevel
131
- * @param {Function} representation.enabled Callback to enable/disable QualityLevel
132
- * @return {QualityLevel} the QualityLevel added to the list
133
- * @method addQualityLevel
134
- */
135
- addQualityLevel(representation) {
136
- let qualityLevel = this.getQualityLevelById(representation.id);
137
-
138
- // Do not add duplicate quality levels
139
- if (qualityLevel) {
140
- return qualityLevel;
141
- }
142
- const index = this.levels_.length;
143
- qualityLevel = new QualityLevel(representation);
144
- if (!('' + index in this)) {
145
- Object.defineProperty(this, index, {
146
- get() {
147
- return this.levels_[index];
148
- }
149
- });
150
- }
151
- this.levels_.push(qualityLevel);
152
- this.trigger({
153
- qualityLevel,
154
- type: 'addqualitylevel'
155
- });
156
- return qualityLevel;
157
- }
158
-
159
- /**
160
- * Removes a quality level from the list.
161
- *
162
- * @param {QualityLevel} qualityLevel The QualityLevel to remove from the list.
163
- * @return {QualityLevel|null} the QualityLevel removed or null if nothing removed
164
- * @method removeQualityLevel
165
- */
166
- removeQualityLevel(qualityLevel) {
167
- let removed = null;
168
- for (let i = 0, l = this.length; i < l; i++) {
169
- if (this[i] === qualityLevel) {
170
- removed = this.levels_.splice(i, 1)[0];
171
- if (this.selectedIndex_ === i) {
172
- this.selectedIndex_ = -1;
173
- } else if (this.selectedIndex_ > i) {
174
- this.selectedIndex_--;
175
- }
176
- break;
177
- }
178
- }
179
- if (removed) {
180
- this.trigger({
181
- qualityLevel,
182
- type: 'removequalitylevel'
183
- });
184
- }
185
- return removed;
186
- }
187
-
188
- /**
189
- * Searches for a QualityLevel with the given id.
190
- *
191
- * @param {string} id The id of the QualityLevel to find.
192
- * @return {QualityLevel|null} The QualityLevel with id, or null if not found.
193
- * @method getQualityLevelById
194
- */
195
- getQualityLevelById(id) {
196
- for (let i = 0, l = this.length; i < l; i++) {
197
- const level = this[i];
198
- if (level.id === id) {
199
- return level;
200
- }
201
- }
202
- return null;
203
- }
204
-
205
- /**
206
- * Resets the list of QualityLevels to empty
207
- *
208
- * @method dispose
209
- */
210
- dispose() {
211
- this.selectedIndex_ = -1;
212
- this.levels_.length = 0;
213
- }
214
- }
215
-
216
- /**
217
- * change - The selected QualityLevel has changed.
218
- * addqualitylevel - A QualityLevel has been added to the QualityLevelList.
219
- * removequalitylevel - A QualityLevel has been removed from the QualityLevelList.
220
- */
221
- QualityLevelList.prototype.allowedEvents_ = {
222
- change: 'change',
223
- addqualitylevel: 'addqualitylevel',
224
- removequalitylevel: 'removequalitylevel'
225
- };
226
-
227
- // emulate attribute EventHandler support to allow for feature detection
228
- for (const event in QualityLevelList.prototype.allowedEvents_) {
229
- QualityLevelList.prototype['on' + event] = null;
230
- }
231
- var version = "4.1.0";
232
-
233
- /**
234
- * Initialization function for the qualityLevels plugin. Sets up the QualityLevelList and
235
- * event handlers.
236
- *
237
- * @param {Player} player Player object.
238
- * @param {Object} options Plugin options object.
239
- * @return {QualityLevelList} a list of QualityLevels
240
- */
241
- const initPlugin = function (player, options) {
242
- const originalPluginFn = player.qualityLevels;
243
- const qualityLevelList = new QualityLevelList();
244
- const disposeHandler = function () {
245
- qualityLevelList.dispose();
246
- player.qualityLevels = originalPluginFn;
247
- player.off('dispose', disposeHandler);
248
- };
249
- player.on('dispose', disposeHandler);
250
- player.qualityLevels = () => qualityLevelList;
251
- player.qualityLevels.VERSION = version;
252
- return qualityLevelList;
253
- };
254
-
255
- /**
256
- * A video.js plugin.
257
- *
258
- * In the plugin function, the value of `this` is a video.js `Player`
259
- * instance. You cannot rely on the player being in a "ready" state here,
260
- * depending on how the plugin is invoked. This may or may not be important
261
- * to you; if not, remove the wait for "ready"!
262
- *
263
- * @param {Object} options Plugin options object
264
- * @return {QualityLevelList} a list of QualityLevels
265
- */
266
- const qualityLevels = function (options) {
267
- return initPlugin(this, videojs.obj.merge({}, options));
268
- };
269
-
270
- // Register the plugin with video.js.
271
- videojs.registerPlugin('qualityLevels', qualityLevels);
272
-
273
- // Include the version number.
274
- qualityLevels.VERSION = version;
275
-
276
- export { qualityLevels as default };
@@ -1,287 +0,0 @@
1
- import { v as videojs } from './video.es-22056625.js';
2
- import './_commonjsHelpers-7d1333e8.js';
3
-
4
- /*! @name videojs-contrib-quality-levels @version 2.2.1 @license Apache-2.0 */
5
- function _inheritsLoose(subClass, superClass) {
6
- subClass.prototype = Object.create(superClass.prototype);
7
- subClass.prototype.constructor = subClass;
8
- subClass.__proto__ = superClass;
9
- }
10
- function _assertThisInitialized(self) {
11
- if (self === void 0) {
12
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13
- }
14
- return self;
15
- }
16
-
17
- /**
18
- * A single QualityLevel.
19
- *
20
- * interface QualityLevel {
21
- * readonly attribute DOMString id;
22
- * attribute DOMString label;
23
- * readonly attribute long width;
24
- * readonly attribute long height;
25
- * readonly attribute long bitrate;
26
- * attribute boolean enabled;
27
- * };
28
- *
29
- * @class QualityLevel
30
- */
31
- var QualityLevel =
32
- /**
33
- * Creates a QualityLevel
34
- *
35
- * @param {Representation|Object} representation The representation of the quality level
36
- * @param {string} representation.id Unique id of the QualityLevel
37
- * @param {number=} representation.width Resolution width of the QualityLevel
38
- * @param {number=} representation.height Resolution height of the QualityLevel
39
- * @param {number} representation.bandwidth Bitrate of the QualityLevel
40
- * @param {number=} representation.frameRate Frame-rate of the QualityLevel
41
- * @param {Function} representation.enabled Callback to enable/disable QualityLevel
42
- */
43
- function QualityLevel(representation) {
44
- var level = this; // eslint-disable-line
45
-
46
- level.id = representation.id;
47
- level.label = level.id;
48
- level.width = representation.width;
49
- level.height = representation.height;
50
- level.bitrate = representation.bandwidth;
51
- level.frameRate = representation.frameRate;
52
- level.enabled_ = representation.enabled;
53
- Object.defineProperty(level, 'enabled', {
54
- /**
55
- * Get whether the QualityLevel is enabled.
56
- *
57
- * @return {boolean} True if the QualityLevel is enabled.
58
- */
59
- get: function get() {
60
- return level.enabled_();
61
- },
62
- /**
63
- * Enable or disable the QualityLevel.
64
- *
65
- * @param {boolean} enable true to enable QualityLevel, false to disable.
66
- */
67
- set: function set(enable) {
68
- level.enabled_(enable);
69
- }
70
- });
71
- return level;
72
- };
73
-
74
- /**
75
- * A list of QualityLevels.
76
- *
77
- * interface QualityLevelList : EventTarget {
78
- * getter QualityLevel (unsigned long index);
79
- * readonly attribute unsigned long length;
80
- * readonly attribute long selectedIndex;
81
- *
82
- * void addQualityLevel(QualityLevel qualityLevel)
83
- * void removeQualityLevel(QualityLevel remove)
84
- * QualityLevel? getQualityLevelById(DOMString id);
85
- *
86
- * attribute EventHandler onchange;
87
- * attribute EventHandler onaddqualitylevel;
88
- * attribute EventHandler onremovequalitylevel;
89
- * };
90
- *
91
- * @extends videojs.EventTarget
92
- * @class QualityLevelList
93
- */
94
-
95
- var QualityLevelList = /*#__PURE__*/
96
- function (_videojs$EventTarget) {
97
- _inheritsLoose(QualityLevelList, _videojs$EventTarget);
98
- function QualityLevelList() {
99
- var _this;
100
- _this = _videojs$EventTarget.call(this) || this;
101
- var list = _assertThisInitialized(_assertThisInitialized(_this)); // eslint-disable-line
102
-
103
- list.levels_ = [];
104
- list.selectedIndex_ = -1;
105
- /**
106
- * Get the index of the currently selected QualityLevel.
107
- *
108
- * @returns {number} The index of the selected QualityLevel. -1 if none selected.
109
- * @readonly
110
- */
111
-
112
- Object.defineProperty(list, 'selectedIndex', {
113
- get: function get() {
114
- return list.selectedIndex_;
115
- }
116
- });
117
- /**
118
- * Get the length of the list of QualityLevels.
119
- *
120
- * @returns {number} The length of the list.
121
- * @readonly
122
- */
123
-
124
- Object.defineProperty(list, 'length', {
125
- get: function get() {
126
- return list.levels_.length;
127
- }
128
- });
129
- return list || _assertThisInitialized(_this);
130
- }
131
- /**
132
- * Adds a quality level to the list.
133
- *
134
- * @param {Representation|Object} representation The representation of the quality level
135
- * @param {string} representation.id Unique id of the QualityLevel
136
- * @param {number=} representation.width Resolution width of the QualityLevel
137
- * @param {number=} representation.height Resolution height of the QualityLevel
138
- * @param {number} representation.bandwidth Bitrate of the QualityLevel
139
- * @param {number=} representation.frameRate Frame-rate of the QualityLevel
140
- * @param {Function} representation.enabled Callback to enable/disable QualityLevel
141
- * @return {QualityLevel} the QualityLevel added to the list
142
- * @method addQualityLevel
143
- */
144
-
145
- var _proto = QualityLevelList.prototype;
146
- _proto.addQualityLevel = function addQualityLevel(representation) {
147
- var qualityLevel = this.getQualityLevelById(representation.id); // Do not add duplicate quality levels
148
-
149
- if (qualityLevel) {
150
- return qualityLevel;
151
- }
152
- var index = this.levels_.length;
153
- qualityLevel = new QualityLevel(representation);
154
- if (!('' + index in this)) {
155
- Object.defineProperty(this, index, {
156
- get: function get() {
157
- return this.levels_[index];
158
- }
159
- });
160
- }
161
- this.levels_.push(qualityLevel);
162
- this.trigger({
163
- qualityLevel: qualityLevel,
164
- type: 'addqualitylevel'
165
- });
166
- return qualityLevel;
167
- };
168
- /**
169
- * Removes a quality level from the list.
170
- *
171
- * @param {QualityLevel} remove QualityLevel to remove to the list.
172
- * @return {QualityLevel|null} the QualityLevel removed or null if nothing removed
173
- * @method removeQualityLevel
174
- */
175
-
176
- _proto.removeQualityLevel = function removeQualityLevel(qualityLevel) {
177
- var removed = null;
178
- for (var i = 0, l = this.length; i < l; i++) {
179
- if (this[i] === qualityLevel) {
180
- removed = this.levels_.splice(i, 1)[0];
181
- if (this.selectedIndex_ === i) {
182
- this.selectedIndex_ = -1;
183
- } else if (this.selectedIndex_ > i) {
184
- this.selectedIndex_--;
185
- }
186
- break;
187
- }
188
- }
189
- if (removed) {
190
- this.trigger({
191
- qualityLevel: qualityLevel,
192
- type: 'removequalitylevel'
193
- });
194
- }
195
- return removed;
196
- };
197
- /**
198
- * Searches for a QualityLevel with the given id.
199
- *
200
- * @param {string} id The id of the QualityLevel to find.
201
- * @return {QualityLevel|null} The QualityLevel with id, or null if not found.
202
- * @method getQualityLevelById
203
- */
204
-
205
- _proto.getQualityLevelById = function getQualityLevelById(id) {
206
- for (var i = 0, l = this.length; i < l; i++) {
207
- var level = this[i];
208
- if (level.id === id) {
209
- return level;
210
- }
211
- }
212
- return null;
213
- };
214
- /**
215
- * Resets the list of QualityLevels to empty
216
- *
217
- * @method dispose
218
- */
219
-
220
- _proto.dispose = function dispose() {
221
- this.selectedIndex_ = -1;
222
- this.levels_.length = 0;
223
- };
224
- return QualityLevelList;
225
- }(videojs.EventTarget);
226
- /**
227
- * change - The selected QualityLevel has changed.
228
- * addqualitylevel - A QualityLevel has been added to the QualityLevelList.
229
- * removequalitylevel - A QualityLevel has been removed from the QualityLevelList.
230
- */
231
-
232
- QualityLevelList.prototype.allowedEvents_ = {
233
- change: 'change',
234
- addqualitylevel: 'addqualitylevel',
235
- removequalitylevel: 'removequalitylevel'
236
- }; // emulate attribute EventHandler support to allow for feature detection
237
-
238
- for (var event in QualityLevelList.prototype.allowedEvents_) {
239
- QualityLevelList.prototype['on' + event] = null;
240
- }
241
- var version = "2.2.1";
242
- var registerPlugin = videojs.registerPlugin || videojs.plugin;
243
- /**
244
- * Initialization function for the qualityLevels plugin. Sets up the QualityLevelList and
245
- * event handlers.
246
- *
247
- * @param {Player} player Player object.
248
- * @param {Object} options Plugin options object.
249
- * @function initPlugin
250
- */
251
-
252
- var initPlugin = function initPlugin(player, options) {
253
- var originalPluginFn = player.qualityLevels;
254
- var qualityLevelList = new QualityLevelList();
255
- var disposeHandler = function disposeHandler() {
256
- qualityLevelList.dispose();
257
- player.qualityLevels = originalPluginFn;
258
- player.off('dispose', disposeHandler);
259
- };
260
- player.on('dispose', disposeHandler);
261
- player.qualityLevels = function () {
262
- return qualityLevelList;
263
- };
264
- player.qualityLevels.VERSION = version;
265
- return qualityLevelList;
266
- };
267
- /**
268
- * A video.js plugin.
269
- *
270
- * In the plugin function, the value of `this` is a video.js `Player`
271
- * instance. You cannot rely on the player being in a "ready" state here,
272
- * depending on how the plugin is invoked. This may or may not be important
273
- * to you; if not, remove the wait for "ready"!
274
- *
275
- * @param {Object} options Plugin options object
276
- * @function qualityLevels
277
- */
278
-
279
- var qualityLevels = function qualityLevels(options) {
280
- return initPlugin(this, videojs.mergeOptions({}, options));
281
- }; // Register the plugin with video.js.
282
-
283
- registerPlugin('qualityLevels', qualityLevels); // Include the version number.
284
-
285
- qualityLevels.VERSION = version;
286
-
287
- export { qualityLevels as default };