Do me a favor and try a small video (less than 50mb). If that’s the case, I will need to create a service that can handle large uploads.
This one was less than 8mb. Somehow videos always find a way to complicate things
Is this for any video?
I am seeing that my MP4’s are not being converted as well. This may need to be turned into a service.
Just learned from @tylerboodman you can’t go past 6MB, you’ll need another uploader of sorts. I’ll see what I can do.
Which part of the Bunny API is this? could you link the docs?
I’m curious if it’s an API where it’s safe to do client-side uploads via a plugin element with a client-safe temporary upload URL, or if it requires an external service because of needing a bearer token in the header.
It’s for the Bunny Storage API. Ideally I’m trying to use Bunny Storage, CDN, and Streaming to add video’s to my app.
https://docs.bunny.net/reference/put_-storagezonename-path-filename
If you have any recommendations I’m all ears!
So looks like their API makes you include the API key in the PUT request, but they have another option to assemble a signed URL safe for client-use so you can have an uploader element send straight to Bunny storage. Not sure the difference between Token Authentication and the basic one Token Authentication (Basic)
Would need a plugin made to generate the link securely server side with your API key + all the other parameters it wants, then an element that takes the file selected/dropped onto it and PUT to that signed URL
Is this something where Users are on a page to upload, like uploading a Youtube video? IF so the above method would work without any external services.
Or is it like where this all needs to be done in the background? That would require no plugin element and external service instead
Awesome thanks for the breakdown! This would be during account creation/editing so people can upload short videos to their profiles. So it sounds like the plugin route is what I’m looking for
Man all of this for some short videos jk jk
Whatever you do don’t use the Bunny plugin from ZQ
Maybe I can try to piece something together (no promises) or I hear @GH5T likes to make plugins (I can’t speak for them either though)
Dude you’re telling me! I appreciate your time Tyler. If you get a solution going, amazing! In the meantime, I’ll keep kicking tires with chatGPT
Oops I was wrong, that token generation link is for BunnyCDN, unrelated to Bunny Storage, back to drawing board. An alternative is plenty of people use Wasabi S3 storage (upload with readily available plugins) then have BunnyCDN in front of it
Looks like the Bunny Storage Zone password is intended to be kept secure, which is lame because that means users can’t do what I mentioned with signed URLs and upload direct from browser.
You would need an external service to take an existing file, like a video uploaded to your Bubble storage, then PUT that to Bunny with your password/api key.
OR I saw this article that they would make their storage S3 compatible https://bunny.net/blog/whats-happening-with-s3-compatibility/ so wait for that and then plugin development would be much easier
@tylerboodman Hi Tyler,
Could you please send me the plugin as well? Microsoft onedrive deprecated their upload with a url to strictly require binary upload Upload small files - Microsoft Graph v1.0 | Microsoft Learn
hello @tylerboodman I came across this thread and would really appreciate if you could send me the plug in
I’m actually just waiting for Bubble to review it so it can be public, hopefully it is soon.
Here you go API Tools (Binary Data and More) Plugin | Bubble
@tylerboodman I wish to try out your solution for my project, please. Have a nice day!
It is on the plugin store for you API Tools (Binary Data and More) Plugin | Bubble