mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Disable autoplay in community tabs
This commit is contained in:
parent
e8a56e0fea
commit
290c7e6009
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,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"]?}' 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue