MP4 won’t load with Cloudflare on

I’ve got a website where I’m using the html tag to play an mp4 video, but for some odd reason, with Cloudflare on, the mp4 doesn’t load up at all. Once I pause Cloudflare, it works perfectly.

It’s obviously not an issue on my or the server’s end, it’s definitely an issue with Cloudflare.

I’ve seen several posts regarding the same issue, but none of the fixes suggested in them worked since they all involved trying to fix it on the server side, even though the issue isn’t with the server but with Cloudflare itself.

What do you guys think?

https://afwpe.tk … I currently have CF disabled otherwise it won’t work.

Is it only trouble in Safari?

Not sure, haven’t tried it anywhere else.

It’s been discussed to death here.
https://community.cloudflare.com/search?q=mp4%20safari

2 Likes

I’ve already had a look at these, they seem to blame it on the server… but as described above, it’s not an issue with the server as everything works perfectly with CF off… it’s only when CF is turned on that the issue starts occurring.

Do we want to blame safari then since the problem only happens there?

It’s an issue with the way the file is served by the origin in conjunction with Cloudflare and viewed in safari. Change any one of those and it works fine.
Those threads show mp4s being served by IIS, through Cloudflare, and viewed just fine in Safari. Or use apache + Cloudflare + not safari. Or use apache + not Cloudflare + safari.

So… the only thing in your control is your server. Change the way it serves MP4s and you’ll be all set.

This topic was automatically closed after 14 days. New replies are no longer allowed.