FileUpload Vimeo
Hi! I am planning to use the fileupload form to upload videos on vimeo using their API.. how will I achieve this? should i store first the video then upload it on vimeo and also how can I display the uploadd video when editing the record?
4 Replies
You would need a custom upload field for this. I think. But could still just extend the native FileUpload component. The biggest issue here is probably going to be the disk unless Vimeo has a laravel adapter.
unfortunately, they dont have disk.. what I did was I added
->storeFiles(false)
on the FileUpload and inside the mutateFormDataBeforeCreate
I added the logic where it will upload the video on vimeo.. is this a good approach?If they have a website they have a disk... it maybe best writing to a custom disk/folder in storage and sending then deleting after successful send.
yeah, I created my own disk..
EDIT: I was thinking of adapter..