F
Filament15mo ago
ahmant

Video Uploader for Vimeo

Can we use "Vimeo" API in the "Video Uploader"?
1 Reply
ahmant
ahmantOP15mo 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()))

Did you find this page helpful?