You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are using the audio component in the cms, the upload file prompt shows two tabs Audio and Video. For this particular component we would like only the audio tab to appear to avoid confusion.
The text was updated successfully, but these errors were encountered:
I had thought this was for displaying panels on a Page and didn't realize this was for a stream block. Looks like wagtailmedia doesn't support this yet according to this issue: torchbox/wagtailmedia#133
We could fork the repo and apply the work we need done, but that's not typically something we like to do.
from wagtailmedia.blocks import AudioChooserBlock, VideoChooserBlock
class BlogPage(Page):
# ...
body = StreamField([
# ... other block definitions
('audio', AudioChooserBlock(icon='media')),
('video', VideoChooserBlock(icon='media')),
])
I believe this needs a version bump in pypo from v 0.7.1 to the next version, but that's to come still.
I'm going to assign this to @danielfmiranda to implement. As far as I can tell, this will be a relatively easy change to make for the AudioBlock StructBlock.
Describe the request
When you are using the audio component in the cms, the upload file prompt shows two tabs Audio and Video. For this particular component we would like only the audio tab to appear to avoid confusion.
The text was updated successfully, but these errors were encountered: