Videos on website don't play , only affects iOS users

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:

  1. Log into your Cloudflare account.
  2. Select your domain.
  3. Go to the “Page Rules” section.
  4. Click “Create Page Rule”.
  5. In the “If the URL matches” field, input the path to your media files.
    Eg, *yourdomain.com/*.mp4*
  6. Under “Then the settings are”, choose “Cache Level” and select “Bypass”.
  7. 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

1 Like