I stored the video resource on R2 cloud storage, and then accessed the resource on my web server, but there was an error. May I ask what is the reason? How do you properly access the data in R2
error:Failed to load resource: the server responded with a status of 400 (Bad Request)
demo source src="xxx://fx.flime.link/cloudv-material/20230520/3997367a01881000c94e2ba800000000.m3u8 " type=“application/x-mpegURL”
R2 buckets (and the objects within them) are not publicly accessible by default. You need to explicitly configure public access by connecting the domain(s) they can be accessed from.
Public buckets can be set up in either one of two ways:
- By connecting a custom domain under your control – this is recommended for production, as it allows you to configure firewall rules, caching, access controls, and bot management for the bucket
- By enabling the Cloudflare-managed subdomain under
Please see the full documentation below:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.