From bb0c2ae342117c2d390ef1134cc58168477f1629 Mon Sep 17 00:00:00 2001 From: VA3HDL Date: Tue, 11 Jun 2024 11:27:41 -0400 Subject: [PATCH] Added "muted" to the video autoplay feature --- hamdash.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hamdash.html b/hamdash.html index 54d2d98..05aa968 100644 --- a/hamdash.html +++ b/hamdash.html @@ -299,7 +299,7 @@ db 8D Y8b d8 88 `88. .88. 88 88 db 8D help += "Double click again to close full screen view.\n"; help += "Right click on an image to display the next one.\n"; help += "The content refreshes automatically every 5 minutes.\n"; - help += "Images rotates every 30 seconds.\n"; + help += "Images rotates every 30 seconds automatically.\n"; const videoExtensions = [".mp4", ".webm", ".ogg", ".ogv"]; @@ -464,6 +464,7 @@ db 8D Y8b d8 88 `88. .88. 88 88 db 8D video.id = `Video${index}`; video.classList.add("media", "hidden"); video.controls = true; + video.muted = true; video.autoplay = true; video.loop = true; const source = document.createElement("source");