video player
anyone manage to install this package?:
https://github.com/aymanalhattami/filament-audio-video-player
or have a better solution?
GitHub
GitHub - aymanalhattami/filament-audio-video-player
Contribute to aymanalhattami/filament-audio-video-player development by creating an account on GitHub.
11 Replies
That is for filament v2, so just migrate it to v3 if you want to use it?
i can't even composer require it and how does one migrate it?
you'll need to submit a PR to the plugin. it's still using the PluginServiceProvider that is no longer in Filament as of v3.
Any other solutions for a media player in side a resource form? I would like to call videos from S3 , show a preview and let users attach them to a model
html video tag?🤷♂️
should be fairly easy to do with a custom form field or View form component.
hi, I tried adding a <video> tag to the select,I played with the following: https://v2.filamentphp.com/tricks/render-html-in-select-options , here is my blade file:https://gist.github.com/dflow/e5ae859707051efa72eaba9796bec977, says: Your browser does not support the video tag, what am I missing? config?
Filament
Render HTML in select options by Matthew Ost - Tricks - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
You tried to add video player in select input? That's bad in so many ways. You should rethink in this case
Think i'm missing what you're trying to do. but yea, the video itself should not be a direct part of any html form component.
What’s so bad about it, I plan on preparing a media library and let content managers choose one from a 5-10 short videos list to add to a process repeater component. If you can add the img tag why not a video tag?
Just think how it even behave