updated caption features to use videojs interface

This commit is contained in:
epicsam123
2025-03-20 10:09:43 -04:00
committed by GitHub
parent 73bf956af5
commit bc3b3f6d69
2 changed files with 30 additions and 33 deletions

View File

@@ -84,17 +84,8 @@ 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 {
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 */
background-color: rgba(0, 0, 0, 0.75) !important;
border-radius: 9px !important;
padding: 5px !important;
line-height: 1.5 !important;