F
Filament14mo ago
ahmant

Video Uploader for Vimeo

Can we use "Vimeo" API in the "Video Uploader"?
1 Reply
ahmant
ahmantOP14mo ago
I used this package https://github.com/vimeo/laravel And in the code:
FileUpload::make('video')
->saveUploadedFileUsing(static fn (BaseFileUpload $component, TemporaryUploadedFile $file): ?string => Vimeo::upload($file->getRealPath()))
FileUpload::make('video')
->saveUploadedFileUsing(static fn (BaseFileUpload $component, TemporaryUploadedFile $file): ?string => Vimeo::upload($file->getRealPath()))
Want results from more Discord servers?
Add your server