From 91693e62c8dc5de457be64daff5fddd17ef250c7 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Wed, 25 Mar 2026 14:14:05 +0000 Subject: [PATCH 1/2] feat: add Picture-in-Picture button to IPTV live TV player PiP button in the modal header pops the stream into a floating mini window that stays on top of all other apps. Works alongside the PiP toggle already enabled on the main video player. --- src/components/live-tv/hls-player-modal.tsx | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/live-tv/hls-player-modal.tsx b/src/components/live-tv/hls-player-modal.tsx index 6f97f7a4..caa032f6 100644 --- a/src/components/live-tv/hls-player-modal.tsx +++ b/src/components/live-tv/hls-player-modal.tsx @@ -594,6 +594,28 @@ export function HlsPlayerModal({ className="hover:bg-zinc-800" /> : null} + {/* Picture-in-Picture Button */} + {document.pictureInPictureEnabled ? : null} + {/* Refresh Button */}