Skip to content

Commit

Permalink
Merge pull request #336 from StephenMcConnel/BL-13906-MakeErrorVisible
Browse files Browse the repository at this point in the history
fix: Make video error message visible again (BL-13906)
  • Loading branch information
andrew-polk authored Nov 1, 2024
2 parents bc80999 + 6e5e8ad commit 074484b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/narration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1302,11 +1302,12 @@ export function showVideoError(video: HTMLVideoElement): void {
msgDiv.className = "video-error-message normal-style";
msgDiv.textContent = badVideoMessage;
msgDiv.style.display = "block";
msgDiv.style.color = "white";
msgDiv.style.color = "black";
msgDiv.style.position = "absolute";
msgDiv.style.left = "10%";
msgDiv.style.top = "10%";
msgDiv.style.width = "80%";
msgDiv.style.fontSize = "x-large";
parent.appendChild(msgDiv);
}
}
Expand Down

0 comments on commit 074484b

Please sign in to comment.