diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs index a4a631c..725c5c2 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/PluginConfiguration.cs @@ -21,6 +21,7 @@ namespace Jellyfin.Plugin.MediaBarEnhanced.Configuration public bool SlideAnimationEnabled { get; set; } = true; public bool EnableVideoBackdrop { get; set; } = true; public bool UseSponsorBlock { get; set; } = true; + public bool PreferLocalTrailers { get; set; } = false; public bool WaitForTrailerToEnd { get; set; } = true; public bool StartMuted { get; set; } = true; public bool FullWidthVideo { get; set; } = true; diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html index 58111cf..b4eb512 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html +++ b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html @@ -57,6 +57,14 @@
Show trailers as background if available.
Adds a mute/unmute and pause/play button to control the video in the right top corner.
+
+ +
If enabled, local trailers will be preferred over remote (YouTube) trailers.
+