aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/modules/plyr/custom_plyr.css
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-09-19 15:33:11 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-09-19 15:33:11 +0530
commita4e01da27c08e43a67b2618ad1e71c1f8f86d5cd (patch)
tree5b8f407dbb7e9d1ab2106ac0cc8564897e7a2098 /youtube/static/modules/plyr/custom_plyr.css
downloadyt-local-master.tar.gz
yt-local-master.tar.bz2
yt-local-master.zip
youtube fronendHEADmaster
Diffstat (limited to 'youtube/static/modules/plyr/custom_plyr.css')
-rw-r--r--youtube/static/modules/plyr/custom_plyr.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/youtube/static/modules/plyr/custom_plyr.css b/youtube/static/modules/plyr/custom_plyr.css
new file mode 100644
index 0000000..0fd3c52
--- /dev/null
+++ b/youtube/static/modules/plyr/custom_plyr.css
@@ -0,0 +1,39 @@
+/* Prevent this div from blocking right-click menu for video
+e.g. Firefox playback speed options */
+.plyr__poster {
+ display: none;
+}
+
+/* plyr fix */
+.plyr:-moz-full-screen video {
+ max-height: initial;
+}
+
+.plyr:-webkit-full-screen video {
+ max-height: initial;
+}
+
+.plyr:-ms-fullscreen video {
+ max-height: initial;
+}
+
+.plyr:fullscreen video {
+ max-height: initial;
+}
+
+.plyr__preview-thumb__image-container {
+ width: 158px;
+ height: 90px;
+}
+
+.plyr__preview-thumb {
+ bottom: 100%;
+}
+
+.plyr__menu__container [role="menu"],
+.plyr__menu__container [role="menucaptions"] {
+ /* Set vertical scroll */
+ /* issue https://github.com/sampotts/plyr/issues/1420 */
+ max-height: 320px;
+ overflow-y: auto;
+}