diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-07-14 10:12:18 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-07-14 10:13:40 -0500 |
| commit | 290c7e60091f608c23acfaeb93122a262912e057 (patch) | |
| tree | f7577bc1a81c1d46dc3b81a75140d388f456e358 | |
| parent | e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6 (diff) | |
| download | invidious-290c7e60091f608c23acfaeb93122a262912e057.tar.gz invidious-290c7e60091f608c23acfaeb93122a262912e057.tar.bz2 invidious-290c7e60091f608c23acfaeb93122a262912e057.zip | |
Disable autoplay in community tabs
| -rw-r--r-- | src/invidious/comments.cr | 2 |
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 |
