From d6214d0441ee720f25d44f7c5a393afd669d517a Mon Sep 17 00:00:00 2001 From: CodeDevMLH Date: Fri, 27 Dec 2024 01:23:43 +0100 Subject: [PATCH] var name changed --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 1a9ca9d..150b647 100644 --- a/script.js +++ b/script.js @@ -8,7 +8,7 @@ let setRandomMovie = true; // Set to false to disable random movie selection fro let showOnOtherPages = false; // Set to true to show the slideshow on all pages eg. favorites tab, requests tab, etc. //let showTitle = false; // Set to false to hide the title TBD let disableTrailerControls = true; // Set to false to enable trailer controls -let setMuted = true; // Set to false to disable unmuting the video on hover +let setMutedHover = true; // Set to false to disable unmuting the video on hover let umuteOnHover = true; // Set to false to disable unmuting the video on hover let unmutedVolume = 20; // Set the volume level when the video is unmuted let useSponsorBlock = true; // Set to true to use SponsorBlock data to skip intro/outro segments of trailers @@ -25,7 +25,7 @@ let previousMovies = []; let forwardMovies = []; let monitorOutroInterval = null; // Global interval variable to monitor the outro segment of the trailer -if (setMuted) { +if (setMutedHover) { const slidesContainer = document.getElementById('slides-container'); slidesContainer.addEventListener('mouseenter', () => { if (player) {