How to upload a video to the filament admin panel

I have an admin panel with the ability to select a video or insert a link to a video, but as I understand it, filament cannot insert a video, I tried to find a solution on the Internet, but I couldn’t find it. help me please
No description
13 Replies
Dennis Koch
Dennis Koch14mo ago
Why do you think it cannot upload a video? You just shared screenshots, that it worked? 🤔
СосрыкъуэКрепкийКамень
Why doesn't the video open in this case?(
Dennis Koch
Dennis Koch14mo ago
You mean the preview? Not sure whether that's on by default. Also check the console for errors.
СосрыкъуэКрепкийКамень
There are no errors in the console and the problem is something else: if I go through the URL to the file, then it won’t open either
No description
СосрыкъуэКрепкийКамень
But in Explorer the file appears and opens
Dennis Koch
Dennis Koch14mo ago
It says 0:22, so the video is somewhat loaded, right? You tried hitting play?
СосрыкъуэКрепкийКамень
The video lasts 22 seconds but when you press play the video does not start and nothing happens
Dennis Koch
Dennis Koch14mo ago
Hm, weird
СосрыкъуэКрепкийКамень
Very strange Now I have made the video work, but it does not show preview and you said that it can be turned off by default, how can I check it?
Dennis Koch
Dennis Koch14mo ago
I said: I am not sure whether it's turned on by default. There might be a enablePreview() method or something. Not 100% sure
awcodes
awcodes14mo ago
I’d be really surprised if FilePond has video previews.
Dennis Koch
Dennis Koch14mo ago
I think there was a PR, but it always has to download the full video 😅
Want results from more Discord servers?
Add your server