summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-07-14 10:12:18 -0500
committerOmar Roth <omarroth@protonmail.com>2019-07-14 10:13:40 -0500
commit290c7e60091f608c23acfaeb93122a262912e057 (patch)
treef7577bc1a81c1d46dc3b81a75140d388f456e358 /src
parente8a56e0fea8364d62f3113f4c6d0074ef47ec0d6 (diff)
downloadinvidious-290c7e60091f608c23acfaeb93122a262912e057.tar.gz
invidious-290c7e60091f608c23acfaeb93122a262912e057.tar.bz2
invidious-290c7e60091f608c23acfaeb93122a262912e057.zip
Disable autoplay in community tabs
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 cef09ff5..b72f8ec7 100644
--- a/src/invidious/comments.cr
+++ b/src/invidious/comments.cr
@@ -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