Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: independent player blocks #16

Open
2 tasks
johnhooks opened this issue Aug 13, 2024 · 0 comments
Open
2 tasks

feat: independent player blocks #16

johnhooks opened this issue Aug 13, 2024 · 0 comments
Assignees

Comments

@johnhooks
Copy link
Contributor

johnhooks commented Aug 13, 2024

There is a power in the player being composed of independent blocks that can be styled independently and nested inside standard layout blocks. This would allow for end users to build a player that is specific to their use case, and also provide the ability to create different players as patterns.

User story

As a knowledgeable block editor user, I want the power to compose an audio player from blocks, so that I can customize the default player to my needs.


This customization at a block level would be difficult using media-chrome. There is this opposition of the customizability of the block editor and the Web Component backend of media-chrome. The block editor has an expectation to apply custom style classes and CSS by applying them to block, though these do not pass through into the Web Components. At least, not without transforming the default behavior into CSS custom properties.

To provide the maximum power to the knowledgeable block editor user the independent blocks should not rely on media-chrome.

I would hate to lose the power this library brings, though making it mesh will the concepts of the block editor has marginalized its value. If the media-chrome state can be used inside the context of an interactive block would be an interesting idea.

Sub tasks

@johnhooks johnhooks self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant