Fix video backdrop styling for full coverage and pointer events
This commit is contained in:
@@ -1589,7 +1589,8 @@ const SlideCreator = {
|
|||||||
|
|
||||||
backdrop = SlideUtils.createElement("div", {
|
backdrop = SlideUtils.createElement("div", {
|
||||||
className: `backdrop video-backdrop ${videoClass}`,
|
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
|
// Initialize YouTube Player
|
||||||
|
|||||||
Reference in New Issue
Block a user