@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,i=require("./currentVideoInfo-5802821b.js"),t=require("./generic-5c9cfadb.js"),n=require("./util-084dc6e6.js"),o=require("./skin-eeec7a85.js"),r=require("./player_instance-fcf6a8fb.js"),u=0,d=0,c=function e(n,r,u,c){d=n,n>u.length-1||(i.setVideoIdx(d+1),t.load(r,u[n].id).then(function(e){o.highlightVideo(d,r),d++,s(e)}).catch(function(i){s(i),setTimeout(function(){o.highlightVideo(d,r),d++,e(d,r,u)},5e3)}))},s=function(i){e&&e(i)};exports.autoPlayNext=function(h){clearTimeout(u);var l=null==h?void 0:h.content;e=null==h?void 0:h.cb;var a=h.playerId;n.onVideoEnded(a,function(){var e=r.getPlayer(a);0!==(null==e?void 0:e.currentTime())&&((d=i.getVideoIdx())>l.length-1||(i.setVideoIdx(d+1),t.load(a,l[d].id).then(function(e){o.highlightVideo(d,a),i.setCurrentVideo(e.response),d++,s(e)}).catch(function(e){s(e),o.highlightVideo(d,a),d++,u=setTimeout(function(){t.isPaused(a)&&c(d,a,l)},5e3)})))})},exports.switchToNext=c;
|
package/cjs/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
|
+
"use strict";var e=require("@babel/runtime/helpers/classCallCheck"),t=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),a=require("@babel/runtime/helpers/possibleConstructorReturn"),o=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),r=require("./icons-2609dbe4.js"),c=require("./captions-68e263dd.js"),l=require("./skin-eeec7a85.js");function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}require("./player_instance-fcf6a8fb.js"),require("@babel/runtime/helpers/toConsumableArray");var d=i.getComponent("Component"),p=function(){n(v,d);var p,u,m=(p=v,u=s(),function(){var e,t=o(p);if(u){var n=o(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return a(this,e)});function v(t){var n,a,o,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,v),(i=m.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(v,[{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.CaptionsSvgV2())});return i.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){Promise.resolve().then(function(){return require("./caption-settings-34ca0188.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=c.getCaptions(this.playerId);null==t||t.map(function(t){return c.disableCaptions(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")?(l.closeOpenDrawers(),a.classList.remove("hidden"),n.classList.add("open"),a.style.right="0px",l.setUpdatedElHeight(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),l.detectOrientationChange(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(r.crossIconSvg())});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"}),c=i.dom.createEl("div",{className:"caption-selector-content"}),s=i.dom.createEl("div",{className:"caption-container"}),d=this.createLanguageContanier();i.dom.appendContent(s,d),i.dom.appendContent(n,a),i.dom.appendContent(n,o),i.dom.appendContent(e,n),i.dom.appendContent(e,c),i.dom.appendContent(c,s),l.handleDrawerResizing(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")),c.getCaptions(e.playerId).map(function(t){return c.disableCaptions(e.playerId,t.id)})},i.dom.appendContent(a,r),i.dom.appendContent(a,o),i.dom.appendContent(t,a);for(var l=c.getCaptions(this.playerId),s=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==l||null===(a=l[n])||void 0===a?void 0:a.label;var s=i.dom.createEl("input",{className:"radio - ".concat(n),id:"language-radio-".concat(n),name:"language-radio"});s.onchange=function(t){c.enableCaptions(e.playerId,l[n].id)},s.setAttribute("type","radio"),i.dom.appendContent(o,s),i.dom.appendContent(o,r),i.dom.appendContent(t,o)},d=0;d<l.length;d++)s(d);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}}]),v}();exports.default=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=require("./player_instance-fcf6a8fb.js");exports.addCaptions=function(e,n){var a=t.getPlayer(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)})})},exports.disableCaptions=function(e,n){for(var a=t.getPlayer(e).textTracks(),r=0;r<a.length;r++){var s=a[r];"subtitles"!==s.kind&&"captions"!==s.kind||s.id!==n||(s.mode="hidden")}},exports.enableCaptions=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.getPlayer(e).textTracks(),i=0;i<l.length;i++){var o=l[i];"subtitles"!==o.kind&&"captions"!==o.kind||o.id!=n||(o.mode="showing")}},exports.getCaptions=function(e){var n,a=t.getPlayer(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}))||[]},exports.removeCaptions=function(e){var n=t.getPlayer(e);n.remoteTextTracks().tracks_.map(function(t){"subtitles"==(null==t?void 0:t.kind)||null==t||t.kind,n.removeRemoteTextTrack(t)})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,t,r,n,o,i,u,s=[],c=(i=new Map,{set:function(e){var t,r=(null==e||null===(t=e.video)||void 0===t?void 0:t.id)||e||null;i.set(r,(i.get(r)||0)+1)},get:function(e){return i.get(e)},clear:function(){i.clear()}}),p=function(e){r=e},a=(u=0,{set:function(e){e>=0&&(u=e)},get:function(){return u}});exports.createIdxMapping=function(e){n=new Map,e.map(function(e,t){n.set(e.id,t)})},exports.getCurrentEpgPrograms=function(){return s},exports.getCurrentSeries=function(){return e},exports.getCurrentVideo=function(){return t},exports.getSeriesWatchMap=function(){return o},exports.getVideoIdx=function(){return r},exports.seasonIdxManager=a,exports.setCurrentEpgPrograms=function(e){s=e},exports.setCurrentSeries=function(t){e=t},exports.setCurrentVideo=function(e){t=e},exports.setSeriesWatchMap=function(e){o=e},exports.setVideoIdx=p,exports.setVideoIdxById=function(e){if(n){var t=n.get(e);p(t+1)}},exports.videoReplayTracker=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-5c9cfadb.js"),s=require("./resolution-9c4872ec.js"),u=require("./skin-eeec7a85.js"),d=require("./localisation-56e0a999.js"),c=require("./player_instance-fcf6a8fb.js");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?h(Object(n),!0).forEach(function(r){e(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function p(e){var t=v();return function(){var r,n=l(e);if(t){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return o(this,r)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}exports.addBigMuteButton=function(e,t){Promise.resolve().then(function(){return require("./index-7ae433c7.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("MuteButton",n),o.addChild("MuteButton",g({playerId:e},t))})},exports.addCaptionButton=function(e,t){Promise.resolve().then(function(){return require("./caption-settings-25cabfc0.js")}).then(function(r){var n,o,l,a,s=r.default,u=c.getPlayer(e);i.registerComponent("captionSelector",s),null===(n=document)||void 0===n||null===(o=n.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(),u&&u.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},u.controlBar.children().length-3)})},exports.addDBClickFullScreen=function(e){var t=c.getPlayer(e).el(),r=0,n=c.getPlayer(e);n.addChild("fullscreenToggle");var o=function(){var e,r=null==t||null===(e=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===e?void 0:e[0];r&&r.click()};n.el().addEventListener("dblclick",o),window._multiplayer_dbClickHandler=o;n.el().addEventListener("touchend",function(){var e=(new Date).getTime(),n=e-r;if(n<300&&n>0){var o,l=null==t||null===(o=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===o?void 0:o[0];l&&l.click()}r=e}),window._multiplayer_dbTapHandler=o},exports.addMulticamSelector=function(e,t){Promise.resolve().then(function(){return require("./multicamv2-bdbdc567.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},exports.addMulticamSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./multicamv2-8215855b.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},exports.addNextEpisodeButton=function(e,t,r){Promise.resolve().then(function(){return require("./nextEpisodeButton-8d1f76fa.js")}).then(function(n){var o=n.default,l=c.getPlayer(r);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:r,sres:e,res:t},l.controlBar.children().length-5)})},exports.addOutputtingOverlay=function(e,t){var r=c.getPlayer(e).el(),n=i.dom.createEl("div",{className:"output-overlay",innerHTML:'<iframe frameBorder="0" src='.concat(t,"></iframe>")});r.append(n)},exports.addPlaylistSelector=function(e,t){Promise.resolve().then(function(){return require("./playlist-8f169ddf.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("playlistSelector",n),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)})},exports.addResolutionModule=function(e,t,r){Promise.resolve().then(function(){return require("./resolution-v2-50cbd77b.js")}).then(function(n){var o=n.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=c.getPlayer(e),a=s.getRenditions(e);(null==a?void 0:a.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:r,renditions:a},l.controlBar.children().length-4))})},exports.addRewindButton=function(e,o,l){var s=function(o){n(s,o);var i=p(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-rewind-button");var a=u.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){a.rewind(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSeriesModule=function(e,t,r){Promise.resolve().then(function(){return require("./series-2df91838.js")}).then(function(n){var o=n.seriesModule,l=c.getPlayer(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]&&n.handleSeasonChange(t[e],e,l,r)})},u=0;u<a.length;u++)s(u)})},exports.addSeriesSelectorV2=function(e,t){Promise.resolve().then(function(){return require("./series-v2-34b98030.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",g({playerId:e},t),o.controlBar.children().length-3)})},exports.addSeriesSelectorV2_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./series-v2-00f10af5.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",g({playerId:e},t),o.controlBar.children().length-3)})},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then(function(){return require("./settings-icon-a419af57.js")}).then(function(r){var n,o,l,a,s=r.default,u=c.getPlayer(e);i.registerComponent("settingsSelector",s),null===(n=document)||void 0===n||null===(o=n.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(),u&&u.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},u.controlBar.children().length-3)})},exports.addSkipButton=function(e,o,l){var s=function(o){n(s,o);var i=p(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-skip-button");var a=u.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){a.skip(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSlowMotion=function(e){var o=function(e){n(i,e);var o=p(i);function i(e,r){var n;t(this,i);var l=(n=o.call(this,e,r)).el_;return l.classList.add("vjs-slowmo-button"),l.textContent=d.getLocalisation("slowMoText")||"Slow Mo",n}return r(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)},exports.addStartFromBeginningButton=function(e,t){Promise.resolve().then(function(){return require("./start-begin-btn-5adfa5b7.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("startFromBeginingButton",n);var l=o.getChild("controlBar").addChild("startFromBeginingButton",g({playerId:e},t),o.controlBar.children().findIndex(function(e){return"PlayToggle"===e.name_}));o.startFromBeginningButton=l})},exports.addVideoSelector=function(e,t){Promise.resolve().then(function(){return require("./videoSelector-ce5e52fb.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},exports.addVideoSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./videoSelector-397d3ce1.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},exports.addWatchLiveButton=function(e,t){Promise.resolve().then(function(){return require("./watch-live-btn-1c5d2e69.js")}).then(function(r){var n=r.default,o=c.getPlayer(e);i.registerComponent("watchLiveButton",n);var l=o.getChild("controlBar").addChild("watchLiveButton",g({playerId:e},t),o.controlBar.children().findIndex(function(e){return"PlayToggle"===e.name_})+1);o.watchLiveButton=l})};
|