Cloudflare R2 MP4 Video Not Loading Properly in Some Regions

Hey everyone, I’m having trouble streaming MP4 videos stored on Cloudflare R2. Here’s what’s happening: Issue: I uploaded an MP4 file to Cloudflare R2 and tried to serve it directly. The video URL works in some locations but fails to load properly in others. Sometimes, the video doesn’t load at all or buffers indefinitely. What I’ve Tried So Far: ✅ Checked the Content-Type header (video/mp4). ✅ Used a direct public R2 URL to test playback. ✅ Tried different browsers & VPNs to check region-based issues. ✅ Attempted caching rules in Cloudflare Cache Rules. ✅ Tested with Range Requests enabled via a Cloudflare Worker. What I Need Help With: Is there a known issue with Cloudflare R2 and MP4 streaming in certain regions? Do I need to set up special caching rules or headers for proper playback? Should I use a Cloudflare Worker or Tunnel to improve video delivery? Any recommended fixes or settings that ensure smooth MP4 streaming worldwide? Would really appreciate any insights from those who have dealt with this before! 🚀 Thanks in advance! 🙌
No description
1 Reply
rolandboun
rolandbounOP2mo ago
plez help

Did you find this page helpful?