From 138e50ff1510939d8e3b1c2cb886c9f3af251124 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Fri, 13 Feb 2026 02:11:20 +0100 Subject: [PATCH] Enhance configuration layout and add disablePictureInPicture option for video playback --- .../Configuration/configPage.html | 8 ++++---- Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html index 853ee0d..76a9526 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html +++ b/Jellyfin.Plugin.MediaBarEnhanced/Configuration/configPage.html @@ -118,7 +118,7 @@ -
Enter the IDs of the items you want to show in the slideshow as your default content. @@ -564,7 +564,7 @@ ]; function mkSelect(val, opts, cls) { - var h = ''; opts.forEach(function(o) { var v = o.v || o; var n = o.n || o; @@ -574,12 +574,12 @@ return h; } - div.innerHTML = '
' + + div.innerHTML = '
' + '
' + ' ' + '
Name of the season (e.g. Christmas).
' + '
' + - ' ' + + ' ' + '
' + '
' + ' ' + diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js index c2f6f10..7cd6ac7 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js +++ b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js @@ -1808,6 +1808,7 @@ const SlideCreator = { autoplay: false, preload: "auto", loop: false, + disablePictureInPicture: true, style: "object-fit: cover; object-position: center center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none;" };