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; } };