From 6ed1f7277a1fbe9dec6421ed6befd7b26eba9fda Mon Sep 17 00:00:00 2001 From: IAmParadox27 Date: Sun, 8 Feb 2026 11:23:49 +0000 Subject: [PATCH] The actually hooking of the config var was missed from previous PR. Adding now --- src/Jellyfin.Plugin.MediaBar/Inject/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Jellyfin.Plugin.MediaBar/Inject/index.html b/src/Jellyfin.Plugin.MediaBar/Inject/index.html index 96b23a4..2915eba 100644 --- a/src/Jellyfin.Plugin.MediaBar/Inject/index.html +++ b/src/Jellyfin.Plugin.MediaBar/Inject/index.html @@ -51,6 +51,9 @@ if (config.FadeTransitionDuration >= 0) { window.slideshowPure.CONFIG.fadeTransitionDuration = config.FadeTransitionDuration; } + if (config.EnableTrailers !== undefined && config.EnableTrailers !== null) { + window.slideshowPure.CONFIG.enableTrailers = config.EnableTrailers; + } window.slideshowPure.CONFIG.slideAnimationEnabled = config.SlideAnimationEnabled; } };