summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2020-02-01 11:12:24 -0500
committerOmar Roth <omarroth@protonmail.com>2020-02-01 11:23:12 -0500
commitb56e493d92157dcddbc65b2eaa3d93bb758e8544 (patch)
tree73fa5e066278b862b64b77918b852777038d1da8 /src
parenta2c5211b20ac8a6a4f488322c155b3046fd9fd86 (diff)
downloadinvidious-b56e493d92157dcddbc65b2eaa3d93bb758e8544.tar.gz
invidious-b56e493d92157dcddbc65b2eaa3d93bb758e8544.tar.bz2
invidious-b56e493d92157dcddbc65b2eaa3d93bb758e8544.zip
Remove frameborder from community embeds
Diffstat (limited to 'src')
-rw-r--r--src/invidious/comments.cr2
1 files changed, 1 insertions, 1 deletions
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