-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
What problem does this address?
There is no option for customizing the Audio Block. It should have style options, like other blocks.
What is your proposed solution?
The proposal you’ll see below aims to:
- Work with each theme’s default color scheme and typography styles
- Allow audio title and audio description customization
- Let writers add a custom cover for each
Here's the prototype:
audio-block-lettre.mp4
Based on feedback, here's a slightly adjusted version of that:
This one uses a completely vanilla/unstyled audio player, similar to how the video block uses an unstyled video player. Title, description, and poster image, are taken from the media file's metadata in the media library, though can also be edited in the inspector.
Props @docpop @crisbusquets for the work.
Issue updated Jun 20th.
Previous version of this issue
What problem does this address?
There is no option for customizing the Audio Block in WordPress. Most blocks offer the ability to customize that block by changing it's color, or the color of the font, or rounding the edges, or aligning within the block, but these are missing from the Audio Block's style tab.
What is your proposed solution?
Add the following options to the Audio Block and put them in the block's Style Tab.
- Change the background color of the block
- Change the color of the font
- Select the types of corners you'd like the block to have (rounded or default)
- Modify the text using the same typography options in a normal Paragraph Block
As an example, I've created a mockup of how the Audio Block Styles tab could appear:
