Open cesaregarza opened 1 year ago
@cesaregarza it would be great to get a sense of how you're using it.
The only place we're prescriptive, is in the VideoChooserBlock
(https://github.com/torchbox/wagtailmedia/blob/0de54364fced110c3a8255bbb8e7e40bb652cccf/src/wagtailmedia/blocks.py#L124-L131)
You can define your own chooser block that extends VideoChooserBlock
and overrides render_basic
with whatever your would like.
How do you envision specifying the attributes?
wagtailmedia has been excellent to use and I'm a huge fan, the only thing I'm yearning for a little bit is the ability to specify attributes. Rather than using gifs, I've been using H264/Webm videos to display animations created with manim. However, the lack of ability to specify loop directly is a minor inconvenience. I figured I'd put this feature request in as it might be helpful to others as well. Thanks for the awesome extension!