Send video files as video
Attaching a video file sends it as a regular file, so there's no video preview in riot or other clients. We should send the video files as videos to get the preview working.
Development Tasks
-
Detect the attachment file type and send the correct event to matrix.
QA Tasks
-
Send a video file and check that it's reproducible in riot.