Fix video backdrop styling for full coverage and pointer events

This commit is contained in:
CodeDevMLH
2026-02-09 14:17:22 +01:00
parent 5fd7bcb8b6
commit 217db2a66d

View File

@@ -1589,7 +1589,8 @@ const SlideCreator = {
backdrop = SlideUtils.createElement("div", {
className: `backdrop video-backdrop ${videoClass}`,
id: `youtube-player-${itemId}`
id: `youtube-player-${itemId}`,
style: "position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;"
});
// Initialize YouTube Player