Invidious is an alternative front-end to YouTube
Disable autoplay in community tabs
Omar Roth290c7e60091f
diff --git a/src/invidious/comments.cr b/src/invidious/comments.crindex 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_HTMLelsehtml << <<-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_HTMLend