(iOS 18) Unable to play videos #531

Closed
opened 2024-08-21 17:55:49 +00:00 by thomcat · 5 comments

Describe the bug
I am unable to play videos. I suspect this is an iOS 18 issue (API change or something?) as I am having the same problems with Feditext

To Reproduce
Steps to reproduce the behavior:

  1. Open a toot that includes a video
  2. Try to play the video

Expected behavior
The video plays

(please complete the following information):

  • Device: iPhone 15 Pro Max
  • OS: iOS 18.0 (22A5346a)
  • App Version: 1.7.2 (121)
**Describe the bug** I am unable to play videos. I suspect this is an iOS 18 issue (API change or something?) as I am having the same problems with Feditext **To Reproduce** Steps to reproduce the behavior: 1. Open a toot that includes a video 2. Try to play the video **Expected behavior** The video plays **(please complete the following information):** - Device: iPhone 15 Pro Max - OS: iOS 18.0 (22A5346a) - App Version: 1.7.2 (121)
Owner

I'm not able to reproduce this issue when viewing the same post while signed into an account on mastodon.social. This may be a transient issue with the instance your account is on, or with your internet connection. If you're able to reproduce the issue when signed into another instance or connected to a different network, please let me know.

I'm not able to reproduce this issue when viewing the same post while signed into an account on mastodon.social. This may be a transient issue with the instance your account is on, or with your internet connection. If you're able to reproduce the issue when signed into another instance or connected to a different network, please let me know.
Author

Interesting. I’m using my own instance (powerg.love) running at my house, running gitch-soc v4.3.0-nightly.2024-08-22+glitch. Looks like videos work fine on Tusker using jorts.horse and mstdn.social, so something must be weird about my config, not sure what it could be.

Interesting. I’m using my own instance (powerg.love) running at my house, running gitch-soc `v4.3.0-nightly.2024-08-22+glitch`. Looks like videos work fine on Tusker using jorts.horse and mstdn.social, so something must be weird about my config, not sure what it could be.
Owner

The iOS system video player generally requires HTTP range requests to be supported by the server for streaming video to work. It looks like your setup does not support that for some reason (curl -I 'https://powerg.love/system/media_attachments/files/112/986/363/190/276/798/original/8db0439dc3cd8cf1.mp4' should include the response header Accept-Ranges: bytes).

The iOS system video player generally requires HTTP range requests to be supported by the server for streaming video to work. It looks like your setup does not support that for some reason (`curl -I 'https://powerg.love/system/media_attachments/files/112/986/363/190/276/798/original/8db0439dc3cd8cf1.mp4'` should include the response header `Accept-Ranges: bytes`).
Author

Interesting, would this most likely be an nginx/reverse proxy issue? I know this is out of scope, sorry

Interesting, would this most likely be an nginx/reverse proxy issue? I know this is out of scope, sorry
Author

Fixed by adding

proxy_force_ranges on;

To nginx mastodon config. Thanks for helping me track it down !

Fixed by adding `proxy_force_ranges on;` To nginx mastodon config. Thanks for helping me track it down !
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: shadowfacts/Tusker#531
No description provided.