Disable autoplay in community tabs

pull/643/head
Omar Roth 6 years ago
parent e8a56e0fea
commit 290c7e6009
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -339,7 +339,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"]?}' 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' frameborder='0'></iframe>
END_HTML END_HTML
end end

Loading…
Cancel
Save