feat: Focus the player element so keyboard controls work

This commit is contained in:
Yiannis Christodoulou 2025-09-19 09:17:03 +03:00
parent 738d0d9e00
commit e3291a5d75
2 changed files with 1048 additions and 973 deletions

View File

@ -770,6 +770,18 @@ button {
padding: 0; padding: 0;
height: 100% !important; height: 100% !important;
border-radius: 12px; border-radius: 12px;
outline: none; /* Remove default browser focus outline */
}
/* Custom focus styles for video player */
.video-js:focus {
box-shadow: 0 0 0 3px rgba(25, 153, 50, 0.5);
border-radius: 12px;
}
/* Ensure video player is focusable */
.video-js[tabindex] {
outline: none;
} }
/* Fullscreen video-js player styles for embedded video player */ /* Fullscreen video-js player styles for embedded video player */