MP4 won’t load with Cloudflare on

#1

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?

#3

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

#4

Is it only trouble in Safari?

#5

Not sure, haven’t tried it anywhere else.

#6

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

2 Likes
#7

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.

#8

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.

closed #9

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