myetv-player 1.0.8 → 1.0.10
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/css/myetv-player.css +252 -208
- package/css/myetv-player.min.css +1 -1
- package/dist/myetv-player.js +165 -30
- package/dist/myetv-player.min.js +150 -19
- package/package.json +2 -1
- package/plugins/youtube/README.md +13 -5
- package/plugins/youtube/myetv-player-youtube-plugin.js +1150 -141
- package/scss/_base.scss +0 -15
- package/scss/_controls.scss +129 -2
- package/scss/_menus.scss +51 -0
- package/scss/_responsive.scss +187 -321
- package/scss/_video.scss +0 -75
- package/scss/_watermark.scss +120 -0
- package/scss/myetv-player.scss +7 -7
- package/src/controls.js +72 -21
- package/src/core.js +9 -4
- package/src/events.js +33 -5
- package/src/watermark.js +51 -0
package/scss/_responsive.scss
CHANGED
|
@@ -265,9 +265,9 @@
|
|
|
265
265
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
.controls-main::-webkit-scrollbar {
|
|
269
|
+
display: none; /* Safari and Chrome */
|
|
270
|
+
}
|
|
271
271
|
|
|
272
272
|
.controls-left,
|
|
273
273
|
.controls-right {
|
|
@@ -286,10 +286,10 @@
|
|
|
286
286
|
display: none; /* Hidden by default, shown only when playlist is detected */
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
289
|
+
.controls-right .playlist-prev-btn.playlist-active,
|
|
290
|
+
.controls-right .playlist-next-btn.playlist-active {
|
|
291
|
+
display: flex;
|
|
292
|
+
}
|
|
293
293
|
|
|
294
294
|
/* Playlist button styles */
|
|
295
295
|
.playlist-prev-btn .icon::before {
|
|
@@ -308,10 +308,10 @@
|
|
|
308
308
|
pointer-events: none;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
311
|
+
.playlist-prev-btn:disabled .icon,
|
|
312
|
+
.playlist-next-btn:disabled .icon {
|
|
313
|
+
opacity: 0.5;
|
|
314
|
+
}
|
|
315
315
|
|
|
316
316
|
/* Responsive playlist buttons */
|
|
317
317
|
@media (max-width: 768px) {
|
|
@@ -390,9 +390,9 @@
|
|
|
390
390
|
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px));
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
394
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px)) scale(1.1);
|
|
395
|
+
}
|
|
396
396
|
/* Ensure the track alignment is also correct */
|
|
397
397
|
.volume-slider::-moz-range-track {
|
|
398
398
|
height: var(--player-volume-height);
|
|
@@ -411,13 +411,13 @@
|
|
|
411
411
|
margin-top: -1px;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
414
|
+
.volume-slider::-moz-range-thumb {
|
|
415
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px));
|
|
416
|
+
}
|
|
417
417
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
418
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
419
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px)) scale(1.1);
|
|
420
|
+
}
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
/* FIREFOX VOLUME CONTAINER POSITION FIX */
|
|
@@ -432,9 +432,9 @@
|
|
|
432
432
|
transform: translateY(-2px) !important;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
436
|
+
transform: translateY(-2px) scale(1.1) !important;
|
|
437
|
+
}
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
/* RESOLUTION CONTROL SYSTEM - Video resolution modes management */
|
|
@@ -671,49 +671,49 @@ video::-webkit-media-text-track-display {
|
|
|
671
671
|
}
|
|
672
672
|
/* Custom subtitle overlay responsive styles */
|
|
673
673
|
.custom-subtitle-overlay {
|
|
674
|
-
|
|
674
|
+
font-size: clamp(12px, 4vw, 18px);
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
/* Tablet responsiveness */
|
|
678
678
|
@media (max-width: 768px) {
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
679
|
+
.custom-subtitle-overlay {
|
|
680
|
+
font-size: 16px !important;
|
|
681
|
+
bottom: 70px !important;
|
|
682
|
+
max-width: 85% !important;
|
|
683
|
+
padding: 6px 12px !important;
|
|
684
|
+
line-height: 1.2 !important;
|
|
685
|
+
}
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
/* Mobile phone responsiveness */
|
|
689
689
|
@media (max-width: 480px) {
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
690
|
+
.custom-subtitle-overlay {
|
|
691
|
+
font-size: 14px !important;
|
|
692
|
+
bottom: 60px !important;
|
|
693
|
+
max-width: 90% !important;
|
|
694
|
+
padding: 5px 10px !important;
|
|
695
|
+
line-height: 1.15 !important;
|
|
696
|
+
}
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
/* Very small screens */
|
|
700
700
|
@media (max-width: 360px) {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
701
|
+
.custom-subtitle-overlay {
|
|
702
|
+
font-size: 12px !important;
|
|
703
|
+
bottom: 50px !important;
|
|
704
|
+
max-width: 95% !important;
|
|
705
|
+
padding: 4px 8px !important;
|
|
706
|
+
}
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
/* Landscape mobile optimization */
|
|
710
710
|
@media (max-height: 500px) and (orientation: landscape) {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
711
|
+
.custom-subtitle-overlay {
|
|
712
|
+
font-size: 13px !important;
|
|
713
|
+
bottom: 45px !important;
|
|
714
|
+
max-width: 85% !important;
|
|
715
|
+
padding: 4px 10px !important;
|
|
716
|
+
}
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
/* Scrollable dropdown menus for small player heights */
|
|
@@ -726,32 +726,32 @@ video::-webkit-media-text-track-display {
|
|
|
726
726
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
729
|
+
/* Custom scrollbar for WebKit browsers */
|
|
730
|
+
.speed-menu::-webkit-scrollbar,
|
|
731
|
+
.quality-menu::-webkit-scrollbar,
|
|
732
|
+
.subtitles-menu::-webkit-scrollbar {
|
|
733
|
+
width: 6px;
|
|
734
|
+
}
|
|
735
735
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
736
|
+
.speed-menu::-webkit-scrollbar-track,
|
|
737
|
+
.quality-menu::-webkit-scrollbar-track,
|
|
738
|
+
.subtitles-menu::-webkit-scrollbar-track {
|
|
739
|
+
background: rgba(255, 255, 255, 0.1);
|
|
740
|
+
border-radius: 3px;
|
|
741
|
+
}
|
|
742
742
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
743
|
+
.speed-menu::-webkit-scrollbar-thumb,
|
|
744
|
+
.quality-menu::-webkit-scrollbar-thumb,
|
|
745
|
+
.subtitles-menu::-webkit-scrollbar-thumb {
|
|
746
|
+
background: var(--player-primary-color);
|
|
747
|
+
border-radius: 3px;
|
|
748
|
+
}
|
|
749
749
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
750
|
+
.speed-menu::-webkit-scrollbar-thumb:hover,
|
|
751
|
+
.quality-menu::-webkit-scrollbar-thumb:hover,
|
|
752
|
+
.subtitles-menu::-webkit-scrollbar-thumb:hover {
|
|
753
|
+
background: var(--player-primary-hover);
|
|
754
|
+
}
|
|
755
755
|
|
|
756
756
|
/* Responsive max-height for very small players */
|
|
757
757
|
@media (max-height: 400px) {
|
|
@@ -778,24 +778,24 @@ video::-webkit-media-text-track-display {
|
|
|
778
778
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
781
|
+
/* Custom scrollbar for settings submenu in WebKit browsers */
|
|
782
|
+
.settings-submenu::-webkit-scrollbar {
|
|
783
|
+
width: 6px;
|
|
784
|
+
}
|
|
785
785
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
786
|
+
.settings-submenu::-webkit-scrollbar-track {
|
|
787
|
+
background: rgba(255, 255, 255, 0.1);
|
|
788
|
+
border-radius: 3px;
|
|
789
|
+
}
|
|
790
790
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
791
|
+
.settings-submenu::-webkit-scrollbar-thumb {
|
|
792
|
+
background: var(--player-primary-color);
|
|
793
|
+
border-radius: 3px;
|
|
794
|
+
}
|
|
795
795
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
796
|
+
.settings-submenu::-webkit-scrollbar-thumb:hover {
|
|
797
|
+
background: var(--player-primary-hover);
|
|
798
|
+
}
|
|
799
799
|
|
|
800
800
|
/* Responsive adjustments for settings submenu on very small screens */
|
|
801
801
|
@media (max-width: 350px) {
|
|
@@ -818,14 +818,14 @@ video::-webkit-media-text-track-display {
|
|
|
818
818
|
gap: var(--player-controls-gap);
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
821
|
+
/* Horizontal Volume Slider (default) - Base width reduced */
|
|
822
|
+
.volume-container[data-mobile-slider="show"] .volume-slider {
|
|
823
|
+
width: 80px;
|
|
824
|
+
height: var(--player-volume-height);
|
|
825
|
+
background: var(--player-volume-bg);
|
|
826
|
+
border-radius: calc(var(--player-volume-height) / 2);
|
|
827
|
+
transition: all 0.3s ease;
|
|
828
|
+
}
|
|
829
829
|
|
|
830
830
|
/* Responsive width reduction for horizontal slider */
|
|
831
831
|
@media (max-width: 1200px) {
|
|
@@ -968,21 +968,21 @@ video::-webkit-media-text-track-display {
|
|
|
968
968
|
transform: translateX(-50%);
|
|
969
969
|
}
|
|
970
970
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
971
|
+
/* Hover state for chapter marker */
|
|
972
|
+
.chapter-marker:hover {
|
|
973
|
+
opacity: 1;
|
|
974
|
+
width: 4px;
|
|
975
|
+
height: 120%;
|
|
976
|
+
top: -10%;
|
|
977
|
+
box-shadow: 0 0 8px var(--player-primary-color);
|
|
978
|
+
}
|
|
979
979
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
980
|
+
/* Active chapter marker (currently playing) */
|
|
981
|
+
.chapter-marker.active {
|
|
982
|
+
background: var(--player-primary-hover);
|
|
983
|
+
opacity: 1;
|
|
984
|
+
width: 4px;
|
|
985
|
+
}
|
|
986
986
|
|
|
987
987
|
/* Chapter tooltip */
|
|
988
988
|
.chapter-tooltip {
|
|
@@ -1007,19 +1007,19 @@ video::-webkit-media-text-track-display {
|
|
|
1007
1007
|
pointer-events: none;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1010
|
+
/* Tooltip arrow */
|
|
1011
|
+
.chapter-tooltip::after {
|
|
1012
|
+
content: '';
|
|
1013
|
+
position: absolute;
|
|
1014
|
+
top: 100%;
|
|
1015
|
+
left: 50%;
|
|
1016
|
+
transform: translateX(-50%);
|
|
1017
|
+
width: 0;
|
|
1018
|
+
height: 0;
|
|
1019
|
+
border-left: 6px solid transparent;
|
|
1020
|
+
border-right: 6px solid transparent;
|
|
1021
|
+
border-top: 6px solid rgba(0, 0, 0, 0.95);
|
|
1022
|
+
}
|
|
1023
1023
|
|
|
1024
1024
|
/* Chapter tooltip image */
|
|
1025
1025
|
.chapter-tooltip-image {
|
|
@@ -1057,9 +1057,9 @@ video::-webkit-media-text-track-display {
|
|
|
1057
1057
|
width: 2px;
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1060
|
+
.chapter-marker:hover {
|
|
1061
|
+
width: 3px;
|
|
1062
|
+
}
|
|
1063
1063
|
|
|
1064
1064
|
.chapter-tooltip {
|
|
1065
1065
|
min-width: 160px;
|
|
@@ -1090,73 +1090,73 @@ video::-webkit-media-text-track-display {
|
|
|
1090
1090
|
pointer-events: none;
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1093
|
+
/* Visible state */
|
|
1094
|
+
.video-poster-overlay.visible {
|
|
1095
|
+
opacity: 1;
|
|
1096
|
+
visibility: visible;
|
|
1097
|
+
pointer-events: auto;
|
|
1098
|
+
}
|
|
1099
1099
|
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1100
|
+
/* Hidden state */
|
|
1101
|
+
.video-poster-overlay.hidden {
|
|
1102
|
+
opacity: 0;
|
|
1103
|
+
visibility: hidden;
|
|
1104
|
+
pointer-events: none;
|
|
1105
|
+
}
|
|
1106
1106
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1107
|
+
/* Hover effect on poster */
|
|
1108
|
+
.video-poster-overlay.visible:hover {
|
|
1109
|
+
opacity: 0.95;
|
|
1110
|
+
}
|
|
1111
1111
|
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1112
|
+
/* Play button overlay on poster - THEMED COLORS 🎨 */
|
|
1113
|
+
.video-poster-overlay::after {
|
|
1114
|
+
content: '';
|
|
1115
|
+
position: absolute;
|
|
1116
|
+
top: 50%;
|
|
1117
|
+
left: 50%;
|
|
1118
|
+
transform: translate(-50%, -50%);
|
|
1119
|
+
width: 80px;
|
|
1120
|
+
height: 80px;
|
|
1121
|
+
background: rgba(0, 0, 0, 0.7);
|
|
1122
|
+
border-radius: 50%;
|
|
1123
|
+
border: 3px solid var(--player-primary-color); /* THEMED BORDER ✨ */
|
|
1124
|
+
opacity: 0;
|
|
1125
|
+
transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
|
|
1126
|
+
pointer-events: none;
|
|
1127
|
+
}
|
|
1128
1128
|
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1129
|
+
/* Show play button on hover with animation and themed glow */
|
|
1130
|
+
.video-poster-overlay.visible:hover::after {
|
|
1131
|
+
opacity: 1;
|
|
1132
|
+
transform: translate(-50%, -50%) scale(1.1);
|
|
1133
|
+
border-color: var(--player-primary-hover); /* THEMED HOVER COLOR 🌟 */
|
|
1134
|
+
box-shadow: 0 0 20px var(--player-primary-color); /* THEMED GLOW 💫 */
|
|
1135
|
+
}
|
|
1136
1136
|
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1137
|
+
/* Play icon triangle - THEMED COLOR 🎨 */
|
|
1138
|
+
.video-poster-overlay::before {
|
|
1139
|
+
content: '';
|
|
1140
|
+
position: absolute;
|
|
1141
|
+
top: 50%;
|
|
1142
|
+
left: 50%;
|
|
1143
|
+
transform: translate(-40%, -50%);
|
|
1144
|
+
width: 0;
|
|
1145
|
+
height: 0;
|
|
1146
|
+
border-style: solid;
|
|
1147
|
+
border-width: 15px 0 15px 25px;
|
|
1148
|
+
border-color: transparent transparent transparent var(--player-primary-color); /* THEMED TRIANGLE ✨ */
|
|
1149
|
+
z-index: 2;
|
|
1150
|
+
opacity: 0;
|
|
1151
|
+
transition: opacity 0.3s ease, border-color 0.3s ease;
|
|
1152
|
+
pointer-events: none;
|
|
1153
|
+
}
|
|
1154
1154
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1155
|
+
/* Show play icon on hover with themed color */
|
|
1156
|
+
.video-poster-overlay.visible:hover::before {
|
|
1157
|
+
opacity: 1;
|
|
1158
|
+
border-color: transparent transparent transparent var(--player-primary-hover); /* THEMED HOVER 🌟 */
|
|
1159
|
+
}
|
|
1160
1160
|
|
|
1161
1161
|
/* Responsive adjustments */
|
|
1162
1162
|
@media (max-width: 768px) {
|
|
@@ -1358,137 +1358,3 @@ video::-webkit-media-text-track-display {
|
|
|
1358
1358
|
bottom: 0 !important;
|
|
1359
1359
|
overflow: visible !important;
|
|
1360
1360
|
}
|
|
1361
|
-
|
|
1362
|
-
/* ===================================
|
|
1363
|
-
WATERMARK OVERLAY
|
|
1364
|
-
=================================== */
|
|
1365
|
-
|
|
1366
|
-
.video-watermark {
|
|
1367
|
-
position: absolute;
|
|
1368
|
-
z-index: 15; /* Above video (10), below controls (100) */
|
|
1369
|
-
pointer-events: auto;
|
|
1370
|
-
opacity: 0.7;
|
|
1371
|
-
transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
/* Watermark visible by default */
|
|
1375
|
-
.video-watermark {
|
|
1376
|
-
visibility: visible;
|
|
1377
|
-
opacity: 0.7;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
/* Hide watermark when it has hide-on-autohide class AND controls are hidden */
|
|
1381
|
-
.video-wrapper:not(.has-controls) .video-watermark.hide-on-autohide {
|
|
1382
|
-
visibility: hidden;
|
|
1383
|
-
opacity: 0;
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
/* Show watermark when controls are shown */
|
|
1387
|
-
.video-wrapper.has-controls .video-watermark {
|
|
1388
|
-
visibility: visible;
|
|
1389
|
-
opacity: 0.7;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
.video-watermark:hover {
|
|
1393
|
-
opacity: 1;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
.video-watermark img {
|
|
1397
|
-
display: block;
|
|
1398
|
-
max-width: 150px;
|
|
1399
|
-
max-height: 80px;
|
|
1400
|
-
width: auto;
|
|
1401
|
-
height: auto;
|
|
1402
|
-
object-fit: contain;
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
/* Watermark positions - Top positions unchanged */
|
|
1406
|
-
.video-watermark.watermark-topleft {
|
|
1407
|
-
top: 15px;
|
|
1408
|
-
left: 15px;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
.video-watermark.watermark-topright {
|
|
1412
|
-
top: 15px;
|
|
1413
|
-
right: 15px;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
/* Bottom positions - Increased spacing from controlbar (was 70px, now 90px) */
|
|
1417
|
-
.video-watermark.watermark-bottomleft {
|
|
1418
|
-
bottom: 90px; /* Increased spacing */
|
|
1419
|
-
left: 15px;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
.video-watermark.watermark-bottomright {
|
|
1423
|
-
bottom: 90px; /* Increased spacing */
|
|
1424
|
-
right: 15px;
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
/* DYNAMIC POSITIONING: Always visible watermark moves down when controls are hidden */
|
|
1428
|
-
/* This applies ONLY to watermarks without hide-on-autohide class (always visible) */
|
|
1429
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomleft:not(.hide-on-autohide) {
|
|
1430
|
-
bottom: 15px; /* Move to bottom corner when controls hidden */
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomright:not(.hide-on-autohide) {
|
|
1434
|
-
bottom: 15px; /* Move to bottom corner when controls hidden */
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/* When controls are shown, bottom watermark stays above controlbar */
|
|
1438
|
-
.video-wrapper.has-controls .video-watermark.watermark-bottomleft,
|
|
1439
|
-
.video-wrapper.has-controls .video-watermark.watermark-bottomright {
|
|
1440
|
-
bottom: 90px; /* Stay above controlbar */
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
/* Responsive adjustments for mobile */
|
|
1444
|
-
@media (max-width: 768px) {
|
|
1445
|
-
.video-watermark img {
|
|
1446
|
-
max-width: 100px;
|
|
1447
|
-
max-height: 50px;
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
.video-watermark.watermark-topleft,
|
|
1451
|
-
.video-watermark.watermark-topright {
|
|
1452
|
-
top: 10px;
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
.video-watermark.watermark-topleft,
|
|
1456
|
-
.video-watermark.watermark-bottomleft {
|
|
1457
|
-
left: 10px;
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
.video-watermark.watermark-topright,
|
|
1461
|
-
.video-watermark.watermark-bottomright {
|
|
1462
|
-
right: 10px;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
/* Bottom spacing adjusted for mobile */
|
|
1466
|
-
.video-watermark.watermark-bottomleft,
|
|
1467
|
-
.video-watermark.watermark-bottomright {
|
|
1468
|
-
bottom: 75px; /* Above controlbar on mobile */
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
/* Always visible watermark on mobile - moves down when controls hidden */
|
|
1472
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomleft:not(.hide-on-autohide),
|
|
1473
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomright:not(.hide-on-autohide) {
|
|
1474
|
-
bottom: 10px; /* Move to corner on mobile */
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
/* Extra small screens */
|
|
1479
|
-
@media (max-width: 480px) {
|
|
1480
|
-
.video-watermark.watermark-bottomleft,
|
|
1481
|
-
.video-watermark.watermark-bottomright {
|
|
1482
|
-
bottom: 65px;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomleft:not(.hide-on-autohide),
|
|
1486
|
-
.video-wrapper:not(.has-controls) .video-watermark.watermark-bottomright:not(.hide-on-autohide) {
|
|
1487
|
-
bottom: 8px;
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
/* Clickable watermark cursor */
|
|
1492
|
-
.video-watermark[style*="cursor: pointer"] {
|
|
1493
|
-
cursor: pointer !important;
|
|
1494
|
-
}
|