@viewlift/player-backup 2.0.233-backup → 2.0.235-backup
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/cjs/autoNextVideo-8f3a28e5.js +1 -0
- package/cjs/bundle.css +278 -278
- package/cjs/caption-settings-25cabfc0.js +1 -0
- package/cjs/captions-68e263dd.js +1 -0
- package/cjs/currentVideoInfo-5802821b.js +1 -0
- package/cjs/features-9d4f3d3b.js +1 -0
- package/cjs/generic-5c9cfadb.js +1 -0
- package/cjs/helper-dbf2fb22.js +1 -0
- package/cjs/index-50a630cc.js +1 -0
- package/cjs/index-7ae433c7.js +1 -0
- package/cjs/index-84cce26a.js +1 -0
- package/cjs/index-88031af6.js +1 -0
- package/cjs/index-a98f8a8e.js +1 -0
- package/cjs/index.js +1 -1
- package/cjs/multicamv2-8215855b.js +1 -0
- package/cjs/multicamv2-bdbdc567.js +1 -0
- package/cjs/nextEpisodeButton-8d1f76fa.js +1 -0
- package/cjs/playlist-8f169ddf.js +1 -0
- package/cjs/resolution-9c4872ec.js +1 -0
- package/cjs/resolution-v2-50cbd77b.js +1 -0
- package/cjs/series-2df91838.js +1 -0
- package/cjs/series-v2-00f10af5.js +1 -0
- package/cjs/series-v2-34b98030.js +1 -0
- package/cjs/settings-icon-a419af57.js +1 -0
- package/cjs/skin-126015c7.js +1 -0
- package/cjs/skin-4ec6103a.js +1 -0
- package/cjs/skin-71ed022b.js +1 -0
- package/cjs/skin-b3ebcd05.js +1 -0
- package/cjs/skin-b7201912.js +1 -0
- package/cjs/skin-eeec7a85.js +1 -0
- package/cjs/skin-f1b4c941.js +1 -0
- package/cjs/skin-f400d75f.js +1 -0
- package/cjs/skin-f41d4c28.js +1 -0
- package/cjs/skin-f8d7f636.js +1 -0
- package/cjs/start-begin-btn-5adfa5b7.js +1 -0
- package/cjs/util-084dc6e6.js +1 -0
- package/cjs/videoSelector-397d3ce1.js +1 -0
- package/cjs/videoSelector-ce5e52fb.js +1 -0
- package/cjs/videojs-dash5.es-f9629f7f.js +1 -0
- package/cjs/watch-live-btn-1c5d2e69.js +1 -0
- package/esm/autoNextVideo-7a081ac0.js +1 -0
- package/esm/bundle.css +278 -278
- package/esm/caption-settings-3a5e2e2d.js +1 -0
- package/esm/{captions-f507e8ee.js → captions-78bd2908.js} +1 -1
- package/esm/{currentVideoInfo-a8a254c2.js → currentVideoInfo-0b234e55.js} +1 -1
- package/esm/features-0ec74be5.js +1 -0
- package/esm/generic-3fd5b593.js +1 -0
- package/esm/helper-d52dff3c.js +1 -0
- package/esm/index-27a8c03f.js +1 -0
- package/esm/index-2ab55f4b.js +1 -0
- package/esm/index-5d92eaa3.js +1 -0
- package/esm/index-9dc99578.js +1 -0
- package/esm/index-f7880cd2.js +1 -0
- package/esm/index.js +1 -1
- package/esm/multicamv2-11420b04.js +1 -0
- package/esm/multicamv2-91571dc8.js +1 -0
- package/esm/nextEpisodeButton-9254011d.js +1 -0
- package/esm/playlist-81c63171.js +1 -0
- package/esm/resolution-62be852a.js +1 -0
- package/esm/resolution-v2-6446fe47.js +1 -0
- package/esm/series-8964a9f7.js +1 -0
- package/esm/series-v2-2d269b3d.js +1 -0
- package/esm/series-v2-8a7befeb.js +1 -0
- package/esm/settings-icon-7d9e5221.js +1 -0
- package/esm/skin-07c33e9f.js +1 -0
- package/esm/skin-12b6253f.js +1 -0
- package/esm/skin-444caab4.js +1 -0
- package/esm/skin-65765793.js +1 -0
- package/esm/skin-8d24d7ad.js +1 -0
- package/esm/skin-98367934.js +1 -0
- package/esm/skin-a28c1180.js +1 -0
- package/esm/skin-b8b08a6e.js +1 -0
- package/esm/skin-bb738923.js +1 -0
- package/esm/skin-bf85cd04.js +1 -0
- package/esm/start-begin-btn-16534825.js +1 -0
- package/esm/util-c1e003dd.js +1 -0
- package/esm/videoSelector-b384cba5.js +1 -0
- package/esm/videoSelector-d1379d30.js +1 -0
- package/esm/videojs-dash5.es-bc6f319d.js +1 -0
- package/esm/watch-live-btn-ddcfab89.js +1 -0
- package/package.json +1 -1
- package/cjs/autoNextVideo-6699b509.js +0 -1
- package/cjs/caption-settings-d1eb3bf6.js +0 -1
- package/cjs/captions-dbc83a75.js +0 -1
- package/cjs/currentVideoInfo-31d70bec.js +0 -1
- package/cjs/features-70190903.js +0 -1
- package/cjs/generic-b1fe073b.js +0 -1
- package/cjs/helper-a50a8ffc.js +0 -1
- package/cjs/index-048b1398.js +0 -1
- package/cjs/index-136f735d.js +0 -1
- package/cjs/index-3f0e537b.js +0 -1
- package/cjs/index-4905764c.js +0 -1
- package/cjs/index-54e1780e.js +0 -1
- package/cjs/multicamv2-299c2ad7.js +0 -1
- package/cjs/multicamv2-e1629611.js +0 -1
- package/cjs/nextEpisodeButton-cb408a6d.js +0 -1
- package/cjs/playlist-395273d8.js +0 -1
- package/cjs/resolution-f9dcc1b4.js +0 -1
- package/cjs/resolution-v2-e42e0101.js +0 -1
- package/cjs/series-588df563.js +0 -1
- package/cjs/series-v2-01c42ab1.js +0 -1
- package/cjs/series-v2-fe21dc75.js +0 -1
- package/cjs/settings-icon-b43f4406.js +0 -1
- package/cjs/skin-252a6b85.js +0 -1
- package/cjs/skin-38e9d4e3.js +0 -1
- package/cjs/skin-7458fece.js +0 -1
- package/cjs/skin-8a22f93d.js +0 -1
- package/cjs/skin-a400a9df.js +0 -1
- package/cjs/skin-cff2a17f.js +0 -1
- package/cjs/skin-d2e711ae.js +0 -1
- package/cjs/skin-e3bffca6.js +0 -1
- package/cjs/skin-f5e18b89.js +0 -1
- package/cjs/skin-fb37b44a.js +0 -1
- package/cjs/start-begin-btn-5739a6c0.js +0 -1
- package/cjs/util-93fcddfb.js +0 -1
- package/cjs/videoSelector-29fd6a44.js +0 -1
- package/cjs/videoSelector-b2ff172a.js +0 -1
- package/cjs/videojs-dash5.es-ec94e5f4.js +0 -1
- package/cjs/watch-live-btn-822534d1.js +0 -1
- package/esm/autoNextVideo-651aff4e.js +0 -1
- package/esm/caption-settings-6001af40.js +0 -1
- package/esm/features-8dd10da8.js +0 -1
- package/esm/generic-6e8c729e.js +0 -1
- package/esm/helper-349e076f.js +0 -1
- package/esm/index-098f478a.js +0 -1
- package/esm/index-4cc8ac6f.js +0 -1
- package/esm/index-56de3853.js +0 -1
- package/esm/index-8e3eab6d.js +0 -1
- package/esm/index-c147d174.js +0 -1
- package/esm/multicamv2-7d863304.js +0 -1
- package/esm/multicamv2-9b564503.js +0 -1
- package/esm/nextEpisodeButton-592ba5d6.js +0 -1
- package/esm/playlist-947c85d3.js +0 -1
- package/esm/resolution-1c59b0f3.js +0 -1
- package/esm/resolution-v2-705ae275.js +0 -1
- package/esm/series-0816d84e.js +0 -1
- package/esm/series-v2-0d3ff06b.js +0 -1
- package/esm/series-v2-a533362b.js +0 -1
- package/esm/settings-icon-1e7b0951.js +0 -1
- package/esm/skin-0ff02a6a.js +0 -1
- package/esm/skin-168c4810.js +0 -1
- package/esm/skin-24521313.js +0 -1
- package/esm/skin-272f7581.js +0 -1
- package/esm/skin-3dcba1b2.js +0 -1
- package/esm/skin-6b07ec14.js +0 -1
- package/esm/skin-85593bef.js +0 -1
- package/esm/skin-8f7087e3.js +0 -1
- package/esm/skin-95741366.js +0 -1
- package/esm/skin-9e80d3f6.js +0 -1
- package/esm/start-begin-btn-1e096fec.js +0 -1
- package/esm/util-55ddb03d.js +0 -1
- package/esm/videoSelector-0dd6581e.js +0 -1
- package/esm/videoSelector-79977e43.js +0 -1
- package/esm/videojs-dash5.es-390dd922.js +0 -1
- package/esm/watch-live-btn-5419f3a7.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),t=require("@babel/runtime/helpers/inherits"),n=require("@babel/runtime/helpers/possibleConstructorReturn"),i=require("@babel/runtime/helpers/getPrototypeOf"),u=require("video.js"),l=require("./icons-2609dbe4.js"),o=require("./helper-dbf2fb22.js");function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}require("./currentVideoInfo-5802821b.js");var s=u.getComponent("Component"),a=function(){t(b,s);var a,h,v=(a=b,h=c(),function(){var e,r=i(a);if(h){var t=i(this).constructor;e=Reflect.construct(r,arguments,t)}else e=r.apply(this,arguments);return n(this,e)});function b(r,t){var n;return e(this,b),n=v.call(this,r,t),t.userId,t.siteOwner,n.el().innerHTML=l.watchLiveIcon(),n.on("click",function(){o.playLiveHandler(r)}),n}return r(b,[{key:"createEl",value:function(){return u.dom.createEl("button",{className:"vjs-control vjs-button dvr-watch-live-btn",role:"button",tabIndex:0,title:"Watch Live"})}}]),b}();exports.default=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as n,j as t,k as o}from"./currentVideoInfo-0b234e55.js";import{E as i,T as e}from"./generic-3fd5b593.js";import{a as r}from"./util-c1e003dd.js";import{h as s}from"./skin-65765793.js";import{g as a}from"./player_instance-34118a5b.js";var c,u=0,f=0,m=function(m){clearTimeout(u);var d=null==m?void 0:m.content;c=null==m?void 0:m.cb;var h=m.playerId;r(h,function(){var r=a(h);0!==(null==r?void 0:r.currentTime())&&((f=t())>d.length-1||(o(f+1),i(h,d[f].id).then(function(t){s(f,h),n(t.response),f++,p(t)}).catch(function(n){p(n),s(f,h),f++,u=setTimeout(function(){e(h)&&l(f,h,d)},5e3)})))})},l=function n(t,e,r,a){f=t,t>r.length-1||(o(f+1),i(e,r[t].id).then(function(n){s(f,e),f++,p(n)}).catch(function(t){p(t),setTimeout(function(){s(f,e),f++,n(f,e,r)},5e3)}))},p=function(n){c&&c(n)};export{m as a,l as s};
|
package/esm/bundle.css
CHANGED
|
@@ -531,6 +531,242 @@ iframe{
|
|
|
531
531
|
|
|
532
532
|
|
|
533
533
|
|
|
534
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
535
|
+
height: 0.7em;
|
|
536
|
+
position: absolute;
|
|
537
|
+
top: -0.7em;
|
|
538
|
+
width: 100%;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
542
|
+
height: 100%;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
546
|
+
line-height: 2.5;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
550
|
+
height: 19px;
|
|
551
|
+
width: 19px;
|
|
552
|
+
cursor: pointer;
|
|
553
|
+
}
|
|
554
|
+
.video-js.skin_vlone .vjs-control {
|
|
555
|
+
user-select: none;
|
|
556
|
+
}
|
|
557
|
+
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
558
|
+
user-select: none;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
562
|
+
height: 19px;
|
|
563
|
+
width: 19px;
|
|
564
|
+
cursor: pointer;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.video-js.skin_vlone .vjs-play-progress:before {
|
|
568
|
+
display: none !important;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
572
|
+
margin: 0 !important;
|
|
573
|
+
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
578
|
+
display: block;
|
|
579
|
+
flex: 1 1 auto;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
583
|
+
z-index: 1;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
.video-js.skin_vlone .vjs-control-bar {
|
|
588
|
+
height: 40px;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
592
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
593
|
+
position: relative !important;
|
|
594
|
+
}
|
|
595
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
596
|
+
display: flex;
|
|
597
|
+
left: 0px;
|
|
598
|
+
top: -1px;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
602
|
+
font-size: 2em !important;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.video-js.skin_vlone .vjs-control {
|
|
606
|
+
width: 4.3em;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.vjs-menu-button-popup .vjs-menu {
|
|
610
|
+
bottom: 10px !important;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
615
|
+
height: 1.3em;
|
|
616
|
+
position: absolute;
|
|
617
|
+
top: -1.3em;
|
|
618
|
+
transition: height 0.3s, top 0.3s;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
623
|
+
display: none !important;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
627
|
+
display: block;
|
|
628
|
+
}
|
|
629
|
+
.video-js.skin_vlone .vjs-remaining-time {
|
|
630
|
+
display: none;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
634
|
+
line-height: 3.5em;
|
|
635
|
+
font-size: 1.1em;
|
|
636
|
+
min-width: 4em;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.video-js.skin_vlone .vjs-time-divider > div{
|
|
640
|
+
display: flex;
|
|
641
|
+
justify-content: center;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.video-js.skin_vlone .vjs-live-control{
|
|
645
|
+
align-items: center;
|
|
646
|
+
}
|
|
647
|
+
.video-js.skin_vlone .vjs-live-display{
|
|
648
|
+
height: 2.2em;
|
|
649
|
+
display: flex;
|
|
650
|
+
align-items: center;
|
|
651
|
+
font-family: monospace;
|
|
652
|
+
width: 4em;
|
|
653
|
+
justify-content: center;
|
|
654
|
+
background: red;
|
|
655
|
+
margin: 4px 0px 4px 12px;
|
|
656
|
+
}
|
|
657
|
+
.video-js.skin_vlone .vjs-live-display:hover{
|
|
658
|
+
cursor: pointer;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
662
|
+
line-height: 3.5em !important;
|
|
663
|
+
font-size: 1.1em !important;
|
|
664
|
+
width: min-content !important;
|
|
665
|
+
min-width: 1.5em;
|
|
666
|
+
padding: 0 !important;
|
|
667
|
+
user-select: none;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
671
|
+
margin-left: 16px !important;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
675
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
676
|
+
font-size: 1.2em !important;
|
|
677
|
+
line-height: 1.5em !important;
|
|
678
|
+
padding: 0.2em 0.8em !important;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/* Big play */
|
|
683
|
+
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
684
|
+
width: 80px;
|
|
685
|
+
height: 80px;
|
|
686
|
+
display: flex;
|
|
687
|
+
justify-content: center;
|
|
688
|
+
align-items: center;
|
|
689
|
+
border: none;
|
|
690
|
+
position: absolute;
|
|
691
|
+
top: 0;
|
|
692
|
+
left: 0;
|
|
693
|
+
right: 0;
|
|
694
|
+
bottom: 0;
|
|
695
|
+
margin: auto;
|
|
696
|
+
font-size: 5em;
|
|
697
|
+
line-height: 1.3em;
|
|
698
|
+
transform: none !important;
|
|
699
|
+
border-radius: 1.3em;
|
|
700
|
+
}
|
|
701
|
+
.video-js.skin_vlone .ssai-ad-container{
|
|
702
|
+
position: absolute;
|
|
703
|
+
bottom: 4px;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
@media(max-width:600px){
|
|
707
|
+
.video-js.skin_vlone button.vjs-big-play-button {
|
|
708
|
+
width: 50px !important;
|
|
709
|
+
height: 50px !important;
|
|
710
|
+
font-size: 2.1rem !important;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.video-js.skin_vlone .ssai-ad-container {
|
|
714
|
+
position: absolute;
|
|
715
|
+
bottom: 2px;
|
|
716
|
+
}
|
|
717
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
718
|
+
display: none;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
722
|
+
display: none;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
726
|
+
display: none;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
.video-js .content {
|
|
733
|
+
border-radius: 0;
|
|
734
|
+
background-color: rgba(43, 51, 63, 0.7);
|
|
735
|
+
}
|
|
736
|
+
.video-js .resolution {
|
|
737
|
+
min-width: 100px;
|
|
738
|
+
}
|
|
739
|
+
.video-js .content .resolution .title {
|
|
740
|
+
display: none;
|
|
741
|
+
}
|
|
742
|
+
.video-js .resolution .rendition{
|
|
743
|
+
display: flex;
|
|
744
|
+
list-style: none;
|
|
745
|
+
margin: 0;
|
|
746
|
+
line-height: 1.4em;
|
|
747
|
+
font-size: 12px;
|
|
748
|
+
text-align: center;
|
|
749
|
+
}
|
|
750
|
+
.video-js .rendition {
|
|
751
|
+
padding: 4px 20px;
|
|
752
|
+
}
|
|
753
|
+
.video-js .rendition span {
|
|
754
|
+
background: none;
|
|
755
|
+
}
|
|
756
|
+
.video-js .resolution .renditions .relative:hover {
|
|
757
|
+
background-color: rgba(114.9141509434, 132.7028301887, 159.3858490566, 0.5)
|
|
758
|
+
}
|
|
759
|
+
.video-js .resolution .renditions .relative .rendition.selected {
|
|
760
|
+
background-color: #fff;
|
|
761
|
+
color: #2B333F;
|
|
762
|
+
font-weight: normal;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.video-js .resolution .renditions .relative .rendition.selected span{
|
|
766
|
+
color: #2B333F;
|
|
767
|
+
font-weight: bold
|
|
768
|
+
}
|
|
769
|
+
|
|
534
770
|
.video-js.skin_news_live .vjs-button>.vjs-icon-placeholder:before {
|
|
535
771
|
font-size: 2.2em;
|
|
536
772
|
line-height: 2.6;
|
|
@@ -1033,7 +1269,6 @@ iframe{
|
|
|
1033
1269
|
|
|
1034
1270
|
|
|
1035
1271
|
|
|
1036
|
-
|
|
1037
1272
|
.video-js.skin_mini .vjs-button>.vjs-icon-placeholder:before {
|
|
1038
1273
|
font-size: 2.2em;
|
|
1039
1274
|
line-height: 2.6;
|
|
@@ -1503,254 +1738,19 @@ iframe{
|
|
|
1503
1738
|
}
|
|
1504
1739
|
|
|
1505
1740
|
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1741
|
+
|
|
1742
|
+
/* CSS for videojs-dvr-seekbar */
|
|
1743
|
+
|
|
1744
|
+
.video-js.vjs-dvr-seekbar {
|
|
1745
|
+
display: block;
|
|
1511
1746
|
}
|
|
1512
1747
|
|
|
1513
|
-
.video-js.
|
|
1514
|
-
|
|
1748
|
+
.video-js.vjs-dvr-seekbar .vjs-live-control {
|
|
1749
|
+
display: none;
|
|
1515
1750
|
}
|
|
1516
1751
|
|
|
1517
|
-
.video-js.
|
|
1518
|
-
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
1522
|
-
height: 19px;
|
|
1523
|
-
width: 19px;
|
|
1524
|
-
cursor: pointer;
|
|
1525
|
-
}
|
|
1526
|
-
.video-js.skin_vlone .vjs-control {
|
|
1527
|
-
user-select: none;
|
|
1528
|
-
}
|
|
1529
|
-
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
1530
|
-
user-select: none;
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
1534
|
-
height: 19px;
|
|
1535
|
-
width: 19px;
|
|
1536
|
-
cursor: pointer;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
.video-js.skin_vlone .vjs-play-progress:before {
|
|
1540
|
-
display: none !important;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
1544
|
-
margin: 0 !important;
|
|
1545
|
-
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
1550
|
-
display: block;
|
|
1551
|
-
flex: 1 1 auto;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
1555
|
-
z-index: 1;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
.video-js.skin_vlone .vjs-control-bar {
|
|
1560
|
-
height: 40px;
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
1564
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
1565
|
-
position: relative !important;
|
|
1566
|
-
}
|
|
1567
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
1568
|
-
display: flex;
|
|
1569
|
-
left: 0px;
|
|
1570
|
-
top: -1px;
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
1574
|
-
font-size: 2em !important;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
.video-js.skin_vlone .vjs-control {
|
|
1578
|
-
width: 4.3em;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
.vjs-menu-button-popup .vjs-menu {
|
|
1582
|
-
bottom: 10px !important;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
1587
|
-
height: 1.3em;
|
|
1588
|
-
position: absolute;
|
|
1589
|
-
top: -1.3em;
|
|
1590
|
-
transition: height 0.3s, top 0.3s;
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
1595
|
-
display: none !important;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
1599
|
-
display: block;
|
|
1600
|
-
}
|
|
1601
|
-
.video-js.skin_vlone .vjs-remaining-time {
|
|
1602
|
-
display: none;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
1606
|
-
line-height: 3.5em;
|
|
1607
|
-
font-size: 1.1em;
|
|
1608
|
-
min-width: 4em;
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
.video-js.skin_vlone .vjs-time-divider > div{
|
|
1612
|
-
display: flex;
|
|
1613
|
-
justify-content: center;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
.video-js.skin_vlone .vjs-live-control{
|
|
1617
|
-
align-items: center;
|
|
1618
|
-
}
|
|
1619
|
-
.video-js.skin_vlone .vjs-live-display{
|
|
1620
|
-
height: 2.2em;
|
|
1621
|
-
display: flex;
|
|
1622
|
-
align-items: center;
|
|
1623
|
-
font-family: monospace;
|
|
1624
|
-
width: 4em;
|
|
1625
|
-
justify-content: center;
|
|
1626
|
-
background: red;
|
|
1627
|
-
margin: 4px 0px 4px 12px;
|
|
1628
|
-
}
|
|
1629
|
-
.video-js.skin_vlone .vjs-live-display:hover{
|
|
1630
|
-
cursor: pointer;
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
1634
|
-
line-height: 3.5em !important;
|
|
1635
|
-
font-size: 1.1em !important;
|
|
1636
|
-
width: min-content !important;
|
|
1637
|
-
min-width: 1.5em;
|
|
1638
|
-
padding: 0 !important;
|
|
1639
|
-
user-select: none;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
1643
|
-
margin-left: 16px !important;
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
1647
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
1648
|
-
font-size: 1.2em !important;
|
|
1649
|
-
line-height: 1.5em !important;
|
|
1650
|
-
padding: 0.2em 0.8em !important;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
/* Big play */
|
|
1655
|
-
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
1656
|
-
width: 80px;
|
|
1657
|
-
height: 80px;
|
|
1658
|
-
display: flex;
|
|
1659
|
-
justify-content: center;
|
|
1660
|
-
align-items: center;
|
|
1661
|
-
border: none;
|
|
1662
|
-
position: absolute;
|
|
1663
|
-
top: 0;
|
|
1664
|
-
left: 0;
|
|
1665
|
-
right: 0;
|
|
1666
|
-
bottom: 0;
|
|
1667
|
-
margin: auto;
|
|
1668
|
-
font-size: 5em;
|
|
1669
|
-
line-height: 1.3em;
|
|
1670
|
-
transform: none !important;
|
|
1671
|
-
border-radius: 1.3em;
|
|
1672
|
-
}
|
|
1673
|
-
.video-js.skin_vlone .ssai-ad-container{
|
|
1674
|
-
position: absolute;
|
|
1675
|
-
bottom: 4px;
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
@media(max-width:600px){
|
|
1679
|
-
.video-js.skin_vlone button.vjs-big-play-button {
|
|
1680
|
-
width: 50px !important;
|
|
1681
|
-
height: 50px !important;
|
|
1682
|
-
font-size: 2.1rem !important;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.video-js.skin_vlone .ssai-ad-container {
|
|
1686
|
-
position: absolute;
|
|
1687
|
-
bottom: 2px;
|
|
1688
|
-
}
|
|
1689
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
1690
|
-
display: none;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
1694
|
-
display: none;
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
1698
|
-
display: none;
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
.video-js .content {
|
|
1705
|
-
border-radius: 0;
|
|
1706
|
-
background-color: rgba(43, 51, 63, 0.7);
|
|
1707
|
-
}
|
|
1708
|
-
.video-js .resolution {
|
|
1709
|
-
min-width: 100px;
|
|
1710
|
-
}
|
|
1711
|
-
.video-js .content .resolution .title {
|
|
1712
|
-
display: none;
|
|
1713
|
-
}
|
|
1714
|
-
.video-js .resolution .rendition{
|
|
1715
|
-
display: flex;
|
|
1716
|
-
list-style: none;
|
|
1717
|
-
margin: 0;
|
|
1718
|
-
line-height: 1.4em;
|
|
1719
|
-
font-size: 12px;
|
|
1720
|
-
text-align: center;
|
|
1721
|
-
}
|
|
1722
|
-
.video-js .rendition {
|
|
1723
|
-
padding: 4px 20px;
|
|
1724
|
-
}
|
|
1725
|
-
.video-js .rendition span {
|
|
1726
|
-
background: none;
|
|
1727
|
-
}
|
|
1728
|
-
.video-js .resolution .renditions .relative:hover {
|
|
1729
|
-
background-color: rgba(114.9141509434, 132.7028301887, 159.3858490566, 0.5)
|
|
1730
|
-
}
|
|
1731
|
-
.video-js .resolution .renditions .relative .rendition.selected {
|
|
1732
|
-
background-color: #fff;
|
|
1733
|
-
color: #2B333F;
|
|
1734
|
-
font-weight: normal;
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
|
-
.video-js .resolution .renditions .relative .rendition.selected span{
|
|
1738
|
-
color: #2B333F;
|
|
1739
|
-
font-weight: bold
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
/* CSS for videojs-dvr-seekbar */
|
|
1743
|
-
|
|
1744
|
-
.video-js.vjs-dvr-seekbar {
|
|
1745
|
-
display: block;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
.video-js.vjs-dvr-seekbar .vjs-live-control {
|
|
1749
|
-
display: none;
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
.video-js.vjs-dvr-seekbar.vjs-live .vjs-progress-control {
|
|
1753
|
-
display: flex;
|
|
1752
|
+
.video-js.vjs-dvr-seekbar.vjs-live .vjs-progress-control {
|
|
1753
|
+
display: flex;
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
1756
|
.video-js.vjs-dvr-seekbar.vjs-user-inactive .vjs-control-bar.vjs-dvr-control-bar .vjs-progress-control .vjs-slider .vjs-seek-handle:before {
|
|
@@ -1919,6 +1919,7 @@ iframe{
|
|
|
1919
1919
|
|
|
1920
1920
|
|
|
1921
1921
|
|
|
1922
|
+
|
|
1922
1923
|
.video-js .multicamera-parent.default{
|
|
1923
1924
|
height: 345px;
|
|
1924
1925
|
position: absolute;
|
|
@@ -2001,7 +2002,6 @@ iframe{
|
|
|
2001
2002
|
|
|
2002
2003
|
|
|
2003
2004
|
|
|
2004
|
-
|
|
2005
2005
|
.vjs-custom-big-mute.vjs-control{
|
|
2006
2006
|
position: absolute;
|
|
2007
2007
|
align-items: center;
|
|
@@ -2125,38 +2125,6 @@ iframe{
|
|
|
2125
2125
|
margin-left: 8px;
|
|
2126
2126
|
}
|
|
2127
2127
|
}
|
|
2128
|
-
/* a wrapper element that tracks the mouse vertically */
|
|
2129
|
-
.vjs-thumbnail-holder {
|
|
2130
|
-
position: absolute;
|
|
2131
|
-
left: -1000px;
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
/* the thumbnail image itself */
|
|
2135
|
-
.vjs-thumbnail {
|
|
2136
|
-
position: absolute;
|
|
2137
|
-
left: 0;
|
|
2138
|
-
bottom: 1.3em;
|
|
2139
|
-
opacity: 0;
|
|
2140
|
-
transition: opacity .2s ease;
|
|
2141
|
-
-webkit-transition: opacity .2s ease;
|
|
2142
|
-
-moz-transition: opacity .2s ease;
|
|
2143
|
-
-mz-transition: opacity .2s ease;
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
|
-
/* fade in the thumbnail when hovering over the progress bar */
|
|
2147
|
-
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2148
|
-
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2149
|
-
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2150
|
-
.vjs-progress-control:active .vjs-thumbnail {
|
|
2151
|
-
opacity: 1;
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
/* ... but hide the thumbnail when hovering directly over it */
|
|
2155
|
-
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2156
|
-
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2157
|
-
opacity: 0;
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
2128
|
.video-js.vjs-quality-menu {
|
|
2161
2129
|
display: block;
|
|
2162
2130
|
}
|
|
@@ -2227,6 +2195,38 @@ iframe{
|
|
|
2227
2195
|
-webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite;
|
|
2228
2196
|
animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite;
|
|
2229
2197
|
}
|
|
2198
|
+
/* a wrapper element that tracks the mouse vertically */
|
|
2199
|
+
.vjs-thumbnail-holder {
|
|
2200
|
+
position: absolute;
|
|
2201
|
+
left: -1000px;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
/* the thumbnail image itself */
|
|
2205
|
+
.vjs-thumbnail {
|
|
2206
|
+
position: absolute;
|
|
2207
|
+
left: 0;
|
|
2208
|
+
bottom: 1.3em;
|
|
2209
|
+
opacity: 0;
|
|
2210
|
+
transition: opacity .2s ease;
|
|
2211
|
+
-webkit-transition: opacity .2s ease;
|
|
2212
|
+
-moz-transition: opacity .2s ease;
|
|
2213
|
+
-mz-transition: opacity .2s ease;
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
/* fade in the thumbnail when hovering over the progress bar */
|
|
2217
|
+
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2218
|
+
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2219
|
+
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2220
|
+
.vjs-progress-control:active .vjs-thumbnail {
|
|
2221
|
+
opacity: 1;
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
/* ... but hide the thumbnail when hovering directly over it */
|
|
2225
|
+
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2226
|
+
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2227
|
+
opacity: 0;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
2230
|
.vjs-poster {
|
|
2231
2231
|
display: inline-block;
|
|
2232
2232
|
vertical-align: middle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import n from"@babel/runtime/helpers/inherits";import a from"@babel/runtime/helpers/possibleConstructorReturn";import o from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{C as r,e as c}from"./icons-37daa6b3.js";import{g as l,d as s,e as d}from"./captions-78bd2908.js";import{g as p,s as m,j as u,k as v}from"./skin-65765793.js";import"./player_instance-34118a5b.js";import"@babel/runtime/helpers/toConsumableArray";function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var h=i.getComponent("Component"),y=function(){n(E,h);var y,g,C=(y=E,g=f(),function(){var e,t=o(y);if(g){var n=o(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return a(this,e)});function E(t){var n,a,o,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,E),(i=C.call(this,t,r)).playerId=r.playerId,i.seriesData=r.sres,i.currentVideoData=r.res,i.initialiseStructure(),i.loadCSS(),null===(n=document.getElementsByClassName("vjs-text-track-display-ttml"))||void 0===n||null===(a=n[0])||void 0===a||null===(o=a.style)||void 0===o||o.setProperty("display","none","important"),i}return t(E,[{key:"createEl",value:function(){var e=i.dom.createEl("div",{className:"caption-selection vjs-control vjs-button"});e.style.position="unset";var t=i.dom.createEl("div",{className:"caption-selector-icon",innerHTML:"".concat(r())});return i.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){import("./caption-settings-cb47408f.js").then(function(e){var t=document.createElement("style");t.id="video-captions",t.append("".concat(e.default)),document.head.appendChild(t)})}},{key:"initialiseStructure",value:function(){var e=this,t=l(this.playerId);null==t||t.map(function(t){return s(e.playerId,t.id)});var n=this.el(),a=i.dom.createEl("div",{className:"caption-selection-container hidden"});i.dom.$(".caption-selector-icon",this.el()).onclick=function(){var t;null!==(t=a.classList)&&void 0!==t&&t.contains("hidden")?(p(),a.classList.remove("hidden"),n.classList.add("open"),a.style.right="0px",m(e.playerId,a)):(a.classList.add("hidden"),n.classList.remove("open"),a.style.right="-350px")};var o=document.getElementById(this.playerId);if(o){var r=window.getComputedStyle(o,null).getPropertyValue("height");a.style.height="".concat(r),i.dom.appendContent(n,a),o.style.overflow="hidden",this.addFunctionality(a),u(this.playerId,a)}}},{key:"addFunctionality",value:function(e){var t=this.el(),n=i.dom.createEl("div",{className:"caption-selector-head"}),a=i.dom.createEl("div",{className:"caption-selector-cross-icon",innerHTML:"".concat(c())});a.onclick=function(){e.classList.add("hidden"),t.classList.remove("open"),e.style.right="-350px"};var o=i.dom.createEl("div",{className:"caption-selector-title",innerHTML:"Captions"}),r=i.dom.createEl("div",{className:"caption-selector-content"}),l=i.dom.createEl("div",{className:"caption-container"}),s=this.createLanguageContanier();i.dom.appendContent(l,s),i.dom.appendContent(n,a),i.dom.appendContent(n,o),i.dom.appendContent(e,n),i.dom.appendContent(e,r),i.dom.appendContent(r,l),v(this.playerId,e)}},{key:"createLanguageContanier",value:function(){var e=this,t=i.dom.createEl("div",{className:"caption-language-container"}),n=i.dom.createEl("div",{className:"caption-language-container-title",innerHTML:"Language"});i.dom.appendContent(t,n);var a=document.createElement("label");a.setAttribute("for","radio-off"),a.className="caption-language-holder";var o=document.createElement("div");o.className="caption",o.innerHTML="Off";var r=i.dom.createEl("input",{className:"radio - off",id:"radio-off",name:"language-radio",checked:"true"});r.setAttribute("type","radio"),r.onchange=function(t){var n,a,o;document.getElementsByClassName("vjs-text-track-display-ttml")&&(null===(n=document.getElementsByClassName("vjs-text-track-display-ttml"))||void 0===n||null===(a=n[0])||void 0===a||null===(o=a.style)||void 0===o||o.setProperty("display","none","important")),l(e.playerId).map(function(t){return s(e.playerId,t.id)})},i.dom.appendContent(a,r),i.dom.appendContent(a,o),i.dom.appendContent(t,a);for(var c=l(this.playerId),p=function(n){var a,o=document.createElement("label");o.className="caption-language-holder",o.setAttribute("for","language-radio-".concat(n));var r=document.createElement("div");r.className="caption - ".concat(n),r.textContent=null==c||null===(a=c[n])||void 0===a?void 0:a.label;var l=i.dom.createEl("input",{className:"radio - ".concat(n),id:"language-radio-".concat(n),name:"language-radio"});l.onchange=function(t){d(e.playerId,c[n].id)},l.setAttribute("type","radio"),i.dom.appendContent(o,l),i.dom.appendContent(o,r),i.dom.appendContent(t,o)},m=0;m<c.length;m++)p(m);return t}},{key:"createFontSizeContainer",value:function(){var e=i.dom.createEl("div",{className:"caption-font-container"}),t=i.dom.createEl("div",{className:"caption-font-container-title",innerHTML:"Font Size"});i.dom.appendContent(e,t);for(var n=[{size:14},{size:18},{size:24}],a=0;a<n.length;a++){var o,r=document.createElement("label");r.className="caption-font-holder",r.setAttribute("for","font".concat(a));var c=document.createElement("div");c.className="fontsize - ".concat(a),c.textContent=(null==n||null===(o=n[a])||void 0===o?void 0:o.size)+"pt";var l=i.dom.createEl("input",{className:"radio - ".concat(a),id:"font".concat(a),name:"font-size-radio",size:"".concat(n[a].size),checked:"".concat(a==n.length-1)});l.setAttribute("type","radio"),l.onchange=function(e){var t=e.target.size;if(document.getElementById("caption-size")){document.getElementById("caption-size").textContent=".vjs-text-track-cue{font-size:".concat(t,"px !important}")}else{var n=document.createElement("style");n.textContent=".vjs-text-track-cue{font-size:".concat(t,"px !important}"),n.id="caption-size",document.head.append(n)}},i.dom.appendContent(r,l),i.dom.appendContent(r,c),i.dom.appendContent(e,r)}return e}}]),E}();export{y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as t}from"./player_instance-34118a5b.js";var e=function(e,n){var a,r,s;document.getElementsByClassName("vjs-text-track-display-ttml")&&(null===(a=document.getElementsByClassName("vjs-text-track-display-ttml"))||void 0===a||null===(r=a[0])||void 0===r||null===(s=r.style)||void 0===s||s.setProperty("display","flex"));for(var l=t(e).textTracks(),i=0;i<l.length;i++){var o=l[i];"subtitles"!==o.kind&&"captions"!==o.kind||o.id!=n||(o.mode="showing")}},n=function(e,n){for(var a=t(e).textTracks(),r=0;r<a.length;r++){var s=a[r];"subtitles"!==s.kind&&"captions"!==s.kind||s.id!==n||(s.mode="hidden")}},a=function(e){var n,a=t(e);return(null==a||null===(n=a.textTracks())||void 0===n?void 0:n.tracks_.filter(
|
|
1
|
+
import{g as t}from"./player_instance-34118a5b.js";var e=function(e,n){var a,r,s;document.getElementsByClassName("vjs-text-track-display-ttml")&&(null===(a=document.getElementsByClassName("vjs-text-track-display-ttml"))||void 0===a||null===(r=a[0])||void 0===r||null===(s=r.style)||void 0===s||s.setProperty("display","flex"));for(var l=t(e).textTracks(),i=0;i<l.length;i++){var o=l[i];"subtitles"!==o.kind&&"captions"!==o.kind||o.id!=n||(o.mode="showing")}},n=function(e,n){for(var a=t(e).textTracks(),r=0;r<a.length;r++){var s=a[r];"subtitles"!==s.kind&&"captions"!==s.kind||s.id!==n||(s.mode="hidden")}},a=function(e){var n,a=t(e);return(null==a||null===(n=a.textTracks())||void 0===n?void 0:n.tracks_.filter(function(t){return"subtitles"==t.kind||"captions"===t.kind}))||[]},r=function(e){var n=t(e);n.remoteTextTracks().tracks_.map(function(t){"subtitles"==(null==t?void 0:t.kind)||null==t||t.kind,n.removeRemoteTextTrack(t)})},s=function(e,n){var a=t(e);a.remoteTextTracks().tracks_.map(function(t){a.removeRemoteTextTrack(t)}),n.map(function(t){a.addRemoteTextTrack({src:t.url,srclang:t.srclang,label:t.label||(null==t?void 0:t.language)})})};export{s as a,n as d,e,a as g,r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var n,t,u,i,a,e,o,c=[],f=function(n){t=n},r=(e=new Map,{set:function(n){var t,u=(null==n||null===(t=n.video)||void 0===t?void 0:t.id)||n||null;e.set(u,(e.get(u)||0)+1)},get:function(n){return e.get(n)},clear:function(){e.clear()}}),s=function(){return t},l=function(t){n=t},v=function(){return n},d=function(){return u},g=function(n){u=n},p=function(n){a=n},w=function(){return a},M=function(n){i=new Map,n.map(
|
|
1
|
+
var n,t,u,i,a,e,o,c=[],f=function(n){t=n},r=(e=new Map,{set:function(n){var t,u=(null==n||null===(t=n.video)||void 0===t?void 0:t.id)||n||null;e.set(u,(e.get(u)||0)+1)},get:function(n){return e.get(n)},clear:function(){e.clear()}}),s=function(){return t},l=function(t){n=t},v=function(){return n},d=function(){return u},g=function(n){u=n},p=function(n){a=n},w=function(){return a},M=function(n){i=new Map,n.map(function(n,t){i.set(n.id,t)})},b=function(n){if(i){var t=i.get(n);g(t+1)}},h=(o=0,{set:function(n){n>=0&&(o=n)},get:function(){return o}}),j=function(n){c=n},k=function(){return c};export{s as a,w as b,k as c,j as d,h as e,l as f,v as g,p as h,b as i,d as j,g as k,M as l,f as s,r as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import l from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{C as a,z as s}from"./generic-3fd5b593.js";import{g as c}from"./resolution-62be852a.js";import{p as d}from"./skin-65765793.js";import{g as u}from"./localisation-0bf399a1.js";import{g as p}from"./player_instance-34118a5b.js";function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?m(Object(r),!0).forEach(function(n){e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(e){var t=v();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var g=function(e){var o=function(e){r(i,e);var o=f(i);function i(e,n){var r;t(this,i);var l=(r=o.call(this,e,n)).el_;return l.classList.add("vjs-slowmo-button"),l.textContent=u("slowMoText")||"Slow Mo",r}return n(i,[{key:"handleClick",value:function(){1==l.playbackRate()?(l.playbackRate(.5),this.el().style.background="darkgray"):(l.playbackRate(1),this.el().style.background="none")}}]),i}(i.getComponent("Button"));i.registerComponent("MyButton",o);var l=i(e);l.getChild("controlBar").addChild("myButton",{},2)},C=function(e,o,l){var s=function(o){r(s,o);var i=f(s);function s(e,n){var r;t(this,s);var o=(r=i.call(this,e,n)).el_;o.classList.add("vjs-rewind-button");var a=d(l);return o.append(a),r}return n(s,[{key:"handleClick",value:function(){a(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},y=function(e,o,l){var a=function(o){r(a,o);var i=f(a);function a(e,n){var r;t(this,a);var o=(r=i.call(this,e,n)).el_;o.classList.add("vjs-skip-button");var s=d(l);return o.append(s),r}return n(a,[{key:"handleClick",value:function(){s(e,10)}}]),a}(i.getComponent("Button"));i.registerComponent("MyButton",a),i(e).getChild("controlBar").addChild("myButton",{},1)},B=function(e,t,n){import("./resolution-v2-6446fe47.js").then(function(r){var o=r.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=p(e),a=c(e);(null==a?void 0:a.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:n,renditions:a},l.controlBar.children().length-4))})},b=function(e,t,n){import("./nextEpisodeButton-9254011d.js").then(function(r){var o=r.default,l=p(n);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:n,sres:e,res:t},l.controlBar.children().length-5)})},j=function(e,t,n){import("./series-8964a9f7.js").then(function(r){var o=r.seriesModule,l=p(e);i.registerComponent("seriesModule",o),l.getChild("controlBar").addChild("seriesModule",{playerId:e,seriesData:t},l.controlBar.children().length-4);for(var a=document.querySelectorAll(".season-title-sdk"),s=function(e){a[e].addEventListener("click",function(){t[e]&&r.handleSeasonChange(t[e],e,l,n)})},c=0;c<a.length;c++)s(c)})},k=function(e,t){import("./videoSelector-b384cba5.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("videoSelector",r),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},I=function(e,t){import("./caption-settings-3a5e2e2d.js").then(function(n){var r,o,l,a,s=n.default,c=p(e);i.registerComponent("captionSelector",s),null===(r=document)||void 0===r||null===(o=r.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("caption-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),c&&c.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},S=function(e,t){import("./settings-icon-7d9e5221.js").then(function(n){var r,o,l,a,s=n.default,c=p(e);i.registerComponent("settingsSelector",s),null===(r=document)||void 0===r||null===(o=r.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("settings-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),c&&c.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},w=function(e,t){import("./playlist-81c63171.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("playlistSelector",r),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)})},E=function(e,t){import("./series-v2-8a7befeb.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("seriesV2",r),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},O=function(e,t){import("./multicamv2-91571dc8.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("streamSelector",r),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},M=function(e,t){var n=p(e).el(),r=i.dom.createEl("div",{className:"output-overlay",innerHTML:'<iframe frameBorder="0" src='.concat(t,"></iframe>")});n.append(r)},P=function(e){var t=p(e).el(),n=0,r=p(e);r.addChild("fullscreenToggle");var o=function(){var e,n=null==t||null===(e=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===e?void 0:e[0];n&&n.click()};r.el().addEventListener("dblclick",o),window._multiplayer_dbClickHandler=o;r.el().addEventListener("touchend",function(){var e=(new Date).getTime(),r=e-n;if(r<300&&r>0){var o,l=null==t||null===(o=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===o?void 0:o[0];l&&l.click()}n=e}),window._multiplayer_dbTapHandler=o},x=function(e,t){import("./videoSelector-d1379d30.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("videoSelector",r),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},L=function(e,t){import("./series-v2-2d269b3d.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("seriesV2",r),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},_=function(e,t){import("./multicamv2-11420b04.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("streamSelector",r),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},D=function(e,t){import("./index-2ab55f4b.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("MuteButton",r),o.addChild("MuteButton",h({playerId:e},t))})},N=function(e,t){import("./start-begin-btn-16534825.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("startFromBeginingButton",r);var l=o.getChild("controlBar").addChild("startFromBeginingButton",h({playerId:e},t),o.controlBar.children().findIndex(function(e){return"PlayToggle"===e.name_}));o.startFromBeginningButton=l})},T=function(e,t){import("./watch-live-btn-ddcfab89.js").then(function(n){var r=n.default,o=p(e);i.registerComponent("watchLiveButton",r);var l=o.getChild("controlBar").addChild("watchLiveButton",h({playerId:e},t),o.controlBar.children().findIndex(function(e){return"PlayToggle"===e.name_})+1);o.watchLiveButton=l})};export{B as a,j as b,b as c,y as d,C as e,S as f,I as g,M as h,g as i,x as j,_ as k,w as l,L as m,P as n,k as o,E as p,O as q,N as r,T as s,D as t};
|