# Issue playing videos on iOS and macOS Safari

**URL:** https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497
**Category:** Bug
**Tags:** video, ios, fixed
**Created:** [3 november 2025 om 21:06 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497 "2025-11-03T21:06:51Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![mandyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mandyk/32/529471_2.png) [@mandyk](https://meta.discourse.org/u/mandyk)
#### Post date: [3 november 2025 om 21:06 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/1 "2025-11-03T21:06:51Z")

</div>

Hi all,

We’re seeing an issue on `3.6.0.beta3-latest` where iPhone and Safari on macOS users get an endless spinner when attempting to play an uploaded .mp4 (H.264) video. These same videos played fine until recently (I’m not sure what the last version of Discourse was when they worked).

It looks like Safari makes a `GET` to fetch the first bytes (`Range: bytes=0-1`) of the video (eg `/uploads/default/original/1X/44395933ccadf546b1b1ce65b742e24f900b33fa.mp4`), which returns 200 but fails for reasons that aren’t shown in the JS console or network inspector (just highlighted in red, no error messages). If the same URL is pasted into the browser directly, they are able to successfully download the full video and play it.

Firefox and Chrome on macOS have no issues playing the videos. Browsers on Android also don’t appear to be having issues.

The videos are small (in the 10MB range). We aren’t using S3 for uploads.

Can anyone else corroborate, or confirm that they’re not having issues with iPhones/Safari playing videos? And is there any other diagnostic I can do that might cast light on the issue?

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [13 november 2025 om 14:18 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/3 "2025-11-13T14:18:23Z")

</div>

I’m facing a similar issue with my forum, but testing the same files here appears to work fine. Only iOS/Safari users are affected. Some videos in the WEBM container work, but most mp4, mov, etc, do not.

---

<div class="post-metadata">

### Author: ![Les79](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/les79/32/529169_2.png) [@Les79](https://meta.discourse.org/u/Les79)
#### Post date: [13 november 2025 om 14:21 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/4 "2025-11-13T14:21:19Z")

</div>

> [@mandyk](#):
>
> Can anyone else corroborate, or confirm that they’re not having issues with iPhones/Safari playing videos? And is there any other diagnostic I can do that might cast light on the issue?

Hi, I’ve been seeing issues recently and commented into a thread started by @tsk which has been de-listed. I was working under the assumption that the problem was with mp4/av1 encoded videos as webm/vp9 videos were playing on our forum, but it’s starting to look like the issue is more than that for Safari users.

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [13 november 2025 om 14:31 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/5 "2025-11-13T14:31:41Z")

</div>

Just for giggles I have verified I am on latest, though I saw nothing in the commits that would give indication it affects apple users.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/7/7/d778ce996af34f860aeb87b7dc109ff8b60c36a1.png)

My config is using local storage for uploads. Most threads are locked behind trust level, but we are testing in a public category here:

[https://forum.pixelspace.xyz/t/safari-playback/1516](https://forum.pixelspace.xyz/t/safari-playback/1516)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 14:41 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/6 "2025-11-13T14:41:34Z")

</div>

> [@mandyk](#):
>
> We’re seeing an issue on `3.6.0.beta3-latest` where iPhone and Safari on macOS users get an endless spinner when attempting to play an uploaded .mp4 (H.264) video.

Can you share a link to said video, or upload it here?

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [13 november 2025 om 15:00 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/7 "2025-11-13T15:00:15Z")

</div>

@Les79 I have uploaded this video in both forums as a test.

Can you confirm the pixelspace safari playback thread video does not work for you, but the one here does?

---

<div class="post-metadata">

### Author: ![Les79](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/les79/32/529169_2.png) [@Les79](https://meta.discourse.org/u/Les79)
#### Post date: [13 november 2025 om 15:22 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/8 "2025-11-13T15:22:05Z")

</div>

Yes, the video posted here works in Safari on both my iPhone 13 and MacBook Pro M3. It doesn’t work in the PixelSpace forum.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 17:05 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/9 "2025-11-13T17:05:20Z")

</div>

This video is H.264 in MP4, it should play on all browsers that run Discourse. Given it runs here and not on your instance, I suspect there is something misconfigured there.

Do you run any extra reverse proxy on top of Discourse? I’ve seen some headers on this instance that don’t exist on standard installs, so I’m curious on what was done there.

---

<div class="post-metadata">

### Author: ![tsk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tsk/32/101313_2.png) [@tsk](https://meta.discourse.org/u/tsk)
#### Post date: [13 november 2025 om 17:12 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/10 "2025-11-13T17:12:30Z")

</div>

I’m seeing the same.

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [13 november 2025 om 17:32 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/11 "2025-11-13T17:32:38Z")

</div>

I do use this container as a reverse proxy

> **[Nginx Proxy Manager](https://nginxproxymanager.com/)**
>
> Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt

I had considered this may be partly responsible but the config has not changed and this is a new issue to 3.6.0-beta2 from what I could tell. I started receiving complaints from apple users after rebuilding. Similar to @mandyk I dont remember what we were on previously.

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/a/3/fa364a10aeaf0520429973d17e91735ed36096e7.png)

Is there a particular setting in discourse that I should evaluate?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 18:59 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/12 "2025-11-13T18:59:51Z")

</div>

> [@Adubs](#):
>
> Is there a particular setting in discourse that I should evaluate?

It’s not Discourse, but the proxy.

Unfortunately we can’t realistically cover all infinite possibilities of configurations when people add stuff on top of Discourse, which is why we ship with a know good configuration on the [standard install](https://meta.discourse.org/t/142537?silent=true) that comes with a reverse proxy configured for Discourse.

It may be missing a single nginx config stanza, but you will need to research into that.

---

<div class="post-metadata">

### Author: ![mandyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mandyk/32/529471_2.png) [@mandyk](https://meta.discourse.org/u/mandyk)
#### Post date: [13 november 2025 om 19:13 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/13 "2025-11-13T19:13:30Z")

</div>

Also confirming that the video posted in this thread plays fine in Safari.

Not sure if this is relevant, but one difference I can spot is that the video in this thread is being served from S3. When Safari makes the first range request, S3 is replying with HTTP 206, which seems correct. Both the Pixelspace instance and my instance are _not_ using S3, and it seems that Discourse is replying with HTTP 200 (which doesn’t seem correct, because the request includes a `Range: bytes=0-1` header).

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 19:17 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/14 "2025-11-13T19:17:40Z")

</div>

I uploaded the same video to my test instance at

[https://discourse-on-a-pi5.falco.dev/t/test-safari-bug/25?u=falco](https://discourse-on-a-pi5.falco.dev/t/test-safari-bug/25?u=falco)

---

<div class="post-metadata">

### Author: ![mandyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mandyk/32/529471_2.png) [@mandyk](https://meta.discourse.org/u/mandyk)
#### Post date: [13 november 2025 om 19:19 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/15 "2025-11-13T19:19:05Z")

</div>

Confirmed that the video on `discourse-on-a-pi5.falco.dev` is _not_ working for me on Safari. Again, I can see that the video request is returning 200 instead of 206.

Edit: Additionally, it seems like the response is attempting to return the whole video even though `Range: bytes=0-1` was specified. I suspect range requests are being ignored, and Safari seems to be sensitive to this.

Further edit: This probably means efficient seeking on larger videos is broken for browsers other than Safari too, as they need to download the entire video before being able to seek.

---

<div class="post-metadata">

### Author: ![tsk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tsk/32/101313_2.png) [@tsk](https://meta.discourse.org/u/tsk)
#### Post date: [13 november 2025 om 19:40 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/16 "2025-11-13T19:40:35Z")

</div>

Playback not working in safari for me

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 19:58 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/17 "2025-11-13T19:58:34Z")

</div>

> [@mandyk](#):
>
> Confirmed that the video on `discourse-on-a-pi5.falco.dev` is _not_ working for me on Safari. Again, I can see that the video request is returning 200 instead of 206.

And it works on [https://discourse-on-a-pi.falco.dev/t/test-safari-bug/101?u=falco](https://discourse-on-a-pi.falco.dev/t/test-safari-bug/101?u=falco) right?

---

<div class="post-metadata">

### Author: ![mandyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mandyk/32/529471_2.png) [@mandyk](https://meta.discourse.org/u/mandyk)
#### Post date: [13 november 2025 om 19:59 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/18 "2025-11-13T19:59:58Z")

</div>

Yes, that one works! And I see HTTP 206 there.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [13 november 2025 om 20:00 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/19 "2025-11-13T20:00:32Z")

</div>

Looks like a regression in our default nginx configuration then, thanks for the report @mandyk

---

<div class="post-metadata">

### Author: ![mandyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mandyk/32/529471_2.png) [@mandyk](https://meta.discourse.org/u/mandyk)
#### Post date: [13 november 2025 om 20:01 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/20 "2025-11-13T20:01:40Z")

</div>

Thanks to @Adubs for posting a counter-repro to compare with! And to the Discourse team for a brilliant tool.

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [13 november 2025 om 20:11 UTC](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497/22 "2025-11-13T20:11:53Z")

</div>

> [@Falco](#):
>
> It’s not Discourse, but the proxy.

So just for additional giggles, I copied my app.yml to app2.yml, changed the url and a couple directories, and we now have testfor.pixelspace.xyz running stable branch.

[https://testfor.pixelspace.xyz/t/safari-playback-test/8](https://testfor.pixelspace.xyz/t/safari-playback-test/8)

My users confirm it works here through the same proxy.

edit: I see now there is confirmation of the issue. My apologies for not thinking to try this sooner. Thank you for your insight @mandyk

I would have not figured this out by myself.

[Next page](https://meta.discourse.org/t/issue-playing-videos-on-ios-and-macos-safari/387497.md?page=2)
