fix (hopefully) for video embedding in SB+

This commit is contained in:
Zef Hemel
2026-05-12 13:46:58 +02:00
parent 4e23e7a4c6
commit 0569a037b2
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -55,7 +55,9 @@ function embed.youtube(specOrUrl)
src="https://www.youtube.com/embed/" .. videoId,
style="width: " .. width .. "; height: " .. height,
class = "sb-video-embed",
referrerpolicy = "strict-origin-when-cross-origin"
referrerpolicy = "strict-origin-when-cross-origin",
allow = "accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share",
allowfullscreen = "true",
})
end