Fix embed youtube 153 error by adding referrer-policy header (#1672)
This commit is contained in:
@@ -51,7 +51,8 @@ function embed.youtube(specOrUrl)
|
||||
return widget.html(dom.iframe {
|
||||
src="https://www.youtube.com/embed/" .. videoId,
|
||||
style="width: " .. width .. "; height: " .. height,
|
||||
class = "sb-video-embed"
|
||||
class = "sb-video-embed",
|
||||
referrerpolicy = "strict-origin-when-cross-origin"
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user