Skip to content

Invidious is an alternative front-end to YouTube

Remove frameborder from community embeds

Omar Rothb56e493d9215
diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr
index 2d7bc1cf..1d32d1f4 100644
--- a/src/invidious/comments.cr
+++ b/src/invidious/comments.cr
@@ -347,7 +347,7 @@ def template_youtube_comments(comments, locale, thin_mode)
END_HTML
else
html << <<-END_HTML
- <iframe id='ivplayer' type='text/html' style='position:absolute;width:100%;height:100%;left:0;top:0' src='/embed/#{attachment["videoId"]?}?autoplay=0' frameborder='0'></iframe>
+ <iframe id='ivplayer' type='text/html' style='position:absolute;width:100%;height:100%;left:0;top:0' src='/embed/#{attachment["videoId"]?}?autoplay=0' style='border:none;'></iframe>
END_HTML
end