Fix: Remove duplicate controls in QuadVideoPlayer

- Hide default OverlayVideoPlayer controls (.video-controls)
- Hide large play button overlay (.play-overlay)
- Keep only the new custom individual controls per quadrant
- Clean interface with single set of controls that appear on hover
This commit is contained in:
dilgenfritz 2025-11-03 06:07:11 -06:00
parent fdc8de2c99
commit e66d89e1a1
1 changed files with 12 additions and 0 deletions

View File

@ -181,6 +181,18 @@ class QuadVideoPlayer {
closeBtn.style.display = 'none';
}
// Hide the default video controls since we're adding our own
const defaultControls = player.overlayElement.querySelector('.video-controls');
if (defaultControls) {
defaultControls.style.display = 'none';
}
// Hide the large play button overlay since we have our own controls
const playOverlay = player.overlayElement.querySelector('.play-overlay');
if (playOverlay) {
playOverlay.style.display = 'none';
}
// Create individual controls for this quadrant
this.createIndividualControls(player, index);