diff options
Diffstat (limited to 'youtube/static')
-rw-r--r-- | youtube/static/modules/plyr/custom_plyr.css | 22 | ||||
-rw-r--r-- | youtube/static/watch.css | 14 |
2 files changed, 22 insertions, 14 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..7658321 --- /dev/null +++ b/youtube/static/modules/plyr/custom_plyr.css @@ -0,0 +1,22 @@ +/* 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; +} diff --git a/youtube/static/watch.css b/youtube/static/watch.css index 849e22b..460bba3 100644 --- a/youtube/static/watch.css +++ b/youtube/static/watch.css @@ -24,20 +24,6 @@ video { max-height: calc(100vh/1.5); } -/* 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; -} - a:link { color: var(--link); } |