Improve error messages in examples

This commit is contained in:
Vanilagy
2025-07-19 17:28:39 +02:00
parent 4b12468008
commit 904ac2e366
4 changed files with 43 additions and 8 deletions
@@ -38,6 +38,7 @@ const startRecording = async () => {
mainContainer.style.display = 'none';
videoElement.src = '';
downloadButton.style.display = 'none';
errorElement.textContent = '';
// Paint a white background to the canvas
context.fillStyle = 'white';