| Summary | Plays mp4 in the browser instead of forcing the download | |
| Repository Link | GitHub - Canapin/discourse-video-inline | |
| Install Guide | How to install plugins in Discourse |
Description
By default, Discourse forces MP4 files to be downloaded when a video link is opened in your browser.
This plugin ensures MP4 uploads play directly in the browser by updating the MIME type to video/mp4 and the Content-Disposition to inline.
Preview (click to see the behavior):
Configuration
No configuration necessary.
Iām not sure it will work if you use S3 for your files.
Thanks
This plugin is heavily inspired by Discourse send PDF inline from @thoka.