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

Create a default audio player theme template #10

Open
johnhooks opened this issue May 19, 2024 · 1 comment
Open

Create a default audio player theme template #10

johnhooks opened this issue May 19, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@johnhooks
Copy link
Contributor

The library media-chrome has a few examples of player theme templates. Of most interest is the Tailwind theme. They are created using a HTML template and referencing it in the media controller.

Screenshots

tailwind-theme

References

@johnhooks johnhooks mentioned this issue May 19, 2024
1 task
@johnhooks
Copy link
Contributor Author

This is actually rather complex, the player template is another layer of WebComponent on top of the player, all the necessary styles to customize the template would need to be able to pass thought the shadow DOM barrier, otherwise independent blocks can not use the block editor provided classes and styles, they will not pass through into the nested components of the template.

@johnhooks johnhooks added the invalid This doesn't seem right label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant