Skip to content

Commit

Permalink
fix: Add background color for video error messages (BL-13906)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenMcConnel committed Nov 14, 2024
1 parent 7486250 commit 41151c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/narration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ export function showVideoError(video: HTMLVideoElement): void {
msgDiv.textContent = badVideoMessage;
msgDiv.style.display = "block";
msgDiv.style.color = "black";
msgDiv.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; // semi-transparent white
msgDiv.style.position = "absolute";
msgDiv.style.left = "10%";
msgDiv.style.top = "10%";
Expand Down

0 comments on commit 41151c9

Please sign in to comment.