Embed additional video formats

This commit is contained in:
Jason Zimdars
2025-04-08 16:02:32 -05:00
parent f58c6792e0
commit 6872852d3f
+1 -1
View File
@@ -68,7 +68,7 @@ class MarkdownRenderer < Redcarpet::Render::HTML
end
def video_url?(url)
File.extname(url).downcase.match?(/\.(mp4|webm|ogg)/)
File.extname(url).downcase.match?(/\.(mp4|webm|ogg|mov|avi|mkv)/)
end
def video_tag(url, title)