From 08efb11d95f460c00efa78994d177fee7eb70eef Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:25:08 +0100 Subject: [PATCH] Remove picture-in-picture support from YouTube player integration --- Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js index 09cf995..24c8333 100644 --- a/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js +++ b/Jellyfin.Plugin.MediaBarEnhanced/Web/mediaBarEnhanced.js @@ -745,7 +745,7 @@ const SlideUtils = { const ytIframe = this.createElement('iframe', { id: 'modal-yt-player', src: `https://www.youtube-nocookie.com/embed/${videoId}?enablejsapi=1&origin=${encodeURIComponent(window.location.origin)}`, - allow: 'autoplay; encrypted-media; fullscreen; picture-in-picture', + allow: 'autoplay; encrypted-media', style: 'width: 100%; height: 100%; border: none;', referrerpolicy: 'strict-origin-when-cross-origin', allowfullscreen: 'true' @@ -1751,7 +1751,7 @@ const SlideCreator = { id: `youtube-player-${itemId}`, src: `https://www.youtube-nocookie.com/embed/${videoId}?enablejsapi=1&origin=${encodeURIComponent(window.location.origin)}`, style: "width: 100%; height: 100%; border: none;", - allow: "autoplay; encrypted-media; fullscreen; picture-in-picture", + allow: "autoplay; encrypted-media", referrerpolicy: "strict-origin-when-cross-origin", allowfullscreen: "true" });