# Mp4 files are downloading instead of displaying inline

**URL:** https://meta.discourse.org/t/mp4-files-are-downloading-instead-of-displaying-inline/396363
**Category:** Bug
**Created:** [18 februari 2026 om 07:38 UTC](https://meta.discourse.org/t/mp4-files-are-downloading-instead-of-displaying-inline/396363 "2026-02-18T07:38:21Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [18 februari 2026 om 07:38 UTC](https://meta.discourse.org/t/mp4-files-are-downloading-instead-of-displaying-inline/396363/1 "2026-02-18T07:38:21Z")

</div>

Continuing the discussion from [Make PDFs open directly (not via download) by default](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190/21)

> [@Make PDFs open directly (not via download) by default](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190/18):
>
> In theory, mp4 should be served inline:
> 
> [discourse/lib/file\_helper.rb at 2d615863d2613a7237451b8997c3c8c6583e7ae8 · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/2d615863d2613a7237451b8997c3c8c6583e7ae8/lib/file_helper.rb#L191C2-L194C6)
> 
> which uses:
> 
> [discourse/lib/file\_helper.rb at 2d615863d2613a7237451b8997c3c8c6583e7ae8 · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/2d615863d2613a7237451b8997c3c8c6583e7ae8/lib/file_helper.rb#L205C3-L207C6)

> [@Make PDFs open directly (not via download) by default](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190/19):
>
> On meta, discourse forces mp4 downloads as well: [https://global.discourse-cdn.com/meta/original/4X/3/f/0/3f09f895d21cf0ae897d90c947abb816830b00a2.mp4](https://global.discourse-cdn.com/meta/original/4X/3/f/0/3f09f895d21cf0ae897d90c947abb816830b00a2.mp4)

Something is causing mp4 files to still be served with `content-disposition: attachment`. We need to investigate and fix.

---

_[View the full topic](https://meta.discourse.org/t/mp4-files-are-downloading-instead-of-displaying-inline/396363)._
