Commit ab86d27d authored by Rémy Coutable's avatar Rémy Coutable

Don't allow `.ogg` as a valid video extension

`.ogg` is for music files.
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 62bcbfc8
...@@ -11,4 +11,4 @@ Mime::Type.register_alias "text/html", :md ...@@ -11,4 +11,4 @@ Mime::Type.register_alias "text/html", :md
Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov] Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov]
Mime::Type.register "video/webm", :webm Mime::Type.register "video/webm", :webm
Mime::Type.register "video/ogg", :ogv, [], [:ogg] Mime::Type.register "video/ogg", :ogv
...@@ -286,7 +286,7 @@ Task lists can only be created in descriptions, not in titles. Task item state c ...@@ -286,7 +286,7 @@ Task lists can only be created in descriptions, not in titles. Task item state c
Image tags with a video extension are automatically converted to a video player. Image tags with a video extension are automatically converted to a video player.
The valid video extensions are `.mp4`, `.m4v`, `.mov`, `.webm`, `.ogv`, and `.ogg`. The valid video extensions are `.mp4`, `.m4v`, `.mov`, `.webm`, and `.ogv`.
Here's a sample video: Here's a sample video:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment