Hello user33612,
This issue might be due to how Cloudflare handles byte-range requests which are essential for iOS devices to play media files. Please check your server configuration to ensure it allows byte-range requests. If this doesn’t solve the issue, setting a Page Rule in Cloudflare to bypass caching for the path of your media files can be a potential solution.
Here’s how to set a Page Rule:
- Log into your Cloudflare account.
- Select your domain.
- Go to the “Page Rules” section.
- Click “Create Page Rule”.
- In the “If the URL matches” field, input the path to your media files.
Eg,*yourdomain.com/*.mp4*
- Under “Then the settings are”, choose “Cache Level” and select “Bypass”.
- Click “Save and Deploy”.
This rule should bypass Cloudflare’s cache for your media files, allowing them to play correctly on iOS devices.
Please see : Understanding and configuring Cloudflare Page Rules (Page Rules Tutorial) · Cloudflare Support docs
Regards