r/AutoModerator • u/Sephardson I'm working on the wiki here now! • Jun 04 '26
Guide Using AutoModerator for videos in comments is like other media in comments
Your mod team likely recently (today) got a modmail notification from admins about the new feature rolling out for Videos in Comments.
Many moderators may be wondering how to report or filter comments which contain uploaded videos, in cases where your team wants to consider monitoring them closer or with greater scrutiny, or restrict their use to appropriate posts or trusted authors.
Fortunately, this is possible with AutoModerator. Unfortunately, the OP of the post on r/modnews was unaware at the original time of the announcement, and their comment about it was downvoted out of visibility before later editing in the example code.
Conveniently, this relies on the same kind of RegEx check that is already documented for both video embeds in text posts (July 2022) and for other media in comments (Oct 2022).
Here's the RegEx check:
body (includes, regex): '!\[video\]\([^)]*\)'What this check is looking for is a string of the form:

This is similar to the other media in text posts and comments, which simply use [img] and [gif] in place of [video]. In fact, if you wanted to expand your current AutoModerator rules that apply to gif or images in comments to also apply to videos in comments, then you would want to use a RegEx like this:
body (includes, regex): '!\[(video|img|gif)\]\([^)]*\)'Here are a few example rules:
---
# Report videos in comments
type: comment
body (includes, regex): '!\[video\]\([^)]*\)'
action: report
action_reason: "Video in comment detected, please review."
---
# Filter videos in comments if they get 2 reports
type: comment
body (includes, regex): '!\[video\]\([^)]*\)'
reports: 2
action: filter
action_reason: "Video in comment detected, reported twice, filtered for review."
---
# Restrict video replies on posts flaired "Serious"
type: comment
body (includes, regex): '!\[video\]\([^)]*\)'
parent_submission:
flair_text: "Serious"
action: remove
set_locked: true
action_reason: "Video in comment detected on post flaired Serious."
message: "Hey there! We appreciate your participation, but we do not allow video replies on posts with the Serious flair here. Please resubmit your comment as text only."
---
# Restrict video replies on AMAs to approved users only
type: comment
body (includes, regex): '!\[video\]\([^)]*\)'
parent_submission:
flair_text: "AMA"
author:
is_contributor: false
action: remove
set_locked: true
action_reason: "Video in comment detected on AMA post by unapproved user."
message: "Hey there! We appreciate your participation, but we restrict video replies on AMA posts. Please resubmit your comment as text only or reach out to the moderators if you feel this was in error."
---Let me know if you have other questions or suggestions!
8
u/SolariaHues Jun 04 '26 edited Jun 05 '26
Thank you!
Many of my subs restrict image comments using community karma and/or CQS, so I'm trying the same with videos to see how that goes. I might merge the rules, or I might keep them separate, I'll see how it goes.
An example:
---
#Video in comments
#Filters video comments from users with less than 10 community comment karma or the lowest CQS
type: comment
body (regex, includes): ['!\[video\]\([^)]*\)']
author:
comment_subreddit_karma: < 10
contributor_quality: "= lowest"
satisfy_any_threshold: true
action: filter
action_reason: "Video in comments - check if okay"
---Edit:
< moderate might be more in common usage than =lowest in AM rules, and would filter users with lowest and low CQS, rather than only those with the lowest score.
But you can watch how rules perform and adjust the requirements as needed. If your queue is too full and most of the content is fine, your rule may be too strict. If it's not catching enough, then maybe it should be more strict or look at different metrics.
4
u/KCJones99 Jun 05 '26
Yeah. If (IF!) we allow them at all, it will only be for users with fairly-high subreddit karma.
1
u/beyd1 Jun 17 '26
new mod here,
is the satisfy_any_threshold: true condition effectively an OR operator?
IE if they have less than 10 karma OR they are the lowest quality contributor they get the boot?
1
u/SolariaHues Jun 17 '26
satisfy_any_threshold- true/false - If true and any karma or age threshold checks are being done, only one of the checks will need to be successful. If false, ALL the checks will need to be satisfied for the rule to trigger (this is the default behavior).From https://www.reddit.com/wiki/automoderator/full-documentation
So, yeah.
5
u/WhySoManyDownVote Jun 04 '26
You may also want to give an example checking user account age.
5
u/SolariaHues Jun 04 '26 edited Jun 05 '26
--- #Filter comments with video from users with accounts younger than 3 days old type: comment body (regex, includes): ['!\[video\]\([^)]*\)'] author: account_age: "< 3 days" action: filter action_reason: "New user & video in comments" ---
1
u/DioTheSuperiorWaifu Jun 19 '26
Is there a way to make automod comment with a video?
Trued , but does not seem to work1
u/Sephardson I'm working on the wiki here now! Jun 19 '26
That's the trick i know works with images, but i tested it here and did not get it to work with videos.
1
u/DioTheSuperiorWaifu Jun 19 '26
Yep.
When I comment it, it comes out as regular text. For automod it is Processing Video
Is there any source to learn more about this?
1
u/Sephardson I'm working on the wiki here now! Jun 19 '26
As far as i know, it's not officially documented, and the mods who know about it figured it out through trial and error.
1
3
2
2
3
u/Sephardson I'm working on the wiki here now! Jun 04 '26
It should be possible to allow AutoModerator to use videos in comments. This comment is my test:
!tizfact