Remove frameborder from community embeds

This commit is contained in:
Omar Roth 2020-02-01 11:12:24 -05:00
parent a2c5211b20
commit b56e493d92
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -347,7 +347,7 @@ def template_youtube_comments(comments, locale, thin_mode)
END_HTML END_HTML
else else
html << <<-END_HTML 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_HTML
end end