Improve video player by hiding picture-in-picture controls
Hide the picture-in-picture button and related overlay icons in the Video.js player across all video elements. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/QCN70f2
This commit is contained in:
parent
eb14429383
commit
139839d582
@ -355,3 +355,19 @@ input[data-testid*="search"]::placeholder {
|
||||
opacity: 0.08;
|
||||
filter: blur(0.5px);
|
||||
}
|
||||
|
||||
/* Hide picture-in-picture button on all video elements */
|
||||
video::-webkit-media-controls-picture-in-picture-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
video::-moz-picture-in-picture-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide any picture-in-picture overlay icons */
|
||||
*[aria-label*="picture"],
|
||||
*[title*="picture"],
|
||||
*[data-title*="picture"] {
|
||||
display: none !important;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user