Hello,
Is there a way that I can host video at clouflare stream, but still using .mp4 extension? I need .mp4 extension.
Best Regards
Hello,
Is there a way that I can host video at clouflare stream, but still using .mp4 extension? I need .mp4 extension.
Best Regards
Cloudflare R2 can be used to host arbitrary files, including video.
Thanks for replay @albert ,
Never heard about Cloudflare R2 before. Will learn more about it. Is using R2 wil let the extension as .MP4 extension? Because, using Cloudflare stream, it change the extension, and the .mp4 extension gone form the URL link. I need URL link with mp4 extension. My website builder required .MP4 extention to play videos.
Or, is it a good idea to just upload the video to Cloudflare Page (my website host at Cloudflare Page)? instead of host the video at Cloudflare Stream or Cloudflare R2 and embed it to the website. Need for enlightenment from you, and anybody read this.
Best Regards
R2 is just a giant file repository. It won’t modify your files at all. So, it will retain the .mp4 extension.
No, using Cloudflare Pages for video hosting is against Cloudflare’s ToS. If you want to use Cloudflare for file hosting, you should use Cloudflare R2.
Thanks for the enlightenments to @albert and @sdayman,
I have uploaded a sample MP4. I have got the URL with .mp4 extension. But I can not open/play the MP4 at the URL.
Should I allow public access? I have tried to allow public access but it cannot be changed. Still “not allowed”
Regards
You will have to use the public bucket URL or set up a custom domain.
Request the asset on the Public Bucket URL not just the URL itself. Take it slower. It does work.
A booming example: https://pub-df55dd2c70a94dee925dd5e93ecf3a25.r2.dev/boom.jpg
Thanks for @MrAwesome I found that I acctually have been able to access the MP4, by adding the file name to The Public Bucket URL.
But, why can’t I open the Public Bucket URL, to check what have been in there?
Regards
To my knowledge there isn’t any root listing support. It’s an object storage bucket link not a web server.
If you want to list, upload, and view from a single url you would need to create a worker for that and connect it to the bucket.
My mp4 quality become poor, even compared to MP4 upload directly to my Cloudflare Page. How come?
R2 doesn’t touch the files or convert it to something else. It’s an object storage layer. Just make sure you upload the right file.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.