Bumping this topic because I believe it creates a small issue, or at least an unwanted behavior.
Opening a video file hosted on Discourse forces the download of the video instead of playing it in the browser.
Right-click, copy video address, paste the link in the browser’s address bar.
Weird thing is that on a local dev installation, it properly plays the video in the browser:
When loading the video URL, headers are different between a regular install and a dev install.
On the regular production install, the video content type is set to application/mp4, whereas it’s set to video/mp4 on a dev install.
Crossposting Discourse send PDF inline because the author fixed a similar unwanted behavior with PDFs.
I’m all ears if someone has a solution to prevent mp4s from being forcibly downloaded.