mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-09 17:08:03 +00:00
captions: provide "w", "o", "-", "+" keydowns for player from YT
This commit is contained in:
@@ -71,8 +71,10 @@
|
||||
padding-top: 2em
|
||||
}
|
||||
|
||||
.video-js.player-style-youtube .vjs-progress-control .vjs-progress-holder, .video-js.player-style-youtube .vjs-progress-control {height: 5px;
|
||||
margin-bottom: 10px;}
|
||||
.video-js.player-style-youtube .vjs-progress-control .vjs-progress-holder, .video-js.player-style-youtube .vjs-progress-control {
|
||||
height: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul.vjs-menu-content::-webkit-scrollbar {
|
||||
display: none;
|
||||
@@ -82,10 +84,20 @@ ul.vjs-menu-content::-webkit-scrollbar {
|
||||
cursor: none;
|
||||
}
|
||||
|
||||
/* Customizable CSS in player.js */
|
||||
.vjs-text-track-display > div > div
|
||||
{
|
||||
background-color: rgba(0, 0, 0, 0); /* caption window background: toggle with "w" event */
|
||||
}
|
||||
|
||||
/* Customizable CSS in player.js */
|
||||
.video-js .vjs-text-track-display > div > div > div {
|
||||
background-color: rgba(0, 0, 0, 0.75) !important;
|
||||
font-size: 27px !important; /* Toggle with "-/=" event */
|
||||
background-color: rgba(0, 0, 0, 0.75) !important; /* caption background: toggle with "w" event */
|
||||
color: rgb(255, 255, 255, 1) !important; /* caption text: toggle with "o" event */
|
||||
border-radius: 9px !important;
|
||||
padding: 5px !important;
|
||||
line-height: 1.5 !important;
|
||||
}
|
||||
|
||||
.vjs-play-control,
|
||||
|
Reference in New Issue
Block a user