voidcannon: properly sync data in store, fix flickering icon

This commit is contained in:
bignutty
2025-11-23 01:12:50 +01:00
parent 699d871fb7
commit 5776082512
2 changed files with 10 additions and 4 deletions

View File

@@ -15,15 +15,21 @@ This document is designed to test all aspects of the pagex Markdown renderer.
To modify the test document, make changes in `/src/content/articles/playground/content.md`. To modify the test document, make changes in `/src/content/articles/playground/content.md`.
## Custom Elements ## Media Player Playground
Voidcannon provides a set of custom html elements that can be used within the standard markdown html syntax.
<voidcannon-media-player></voidcannon-media-player> <voidcannon-media-player></voidcannon-media-player>
<voidcannon-media-player video-id="PJ4ZnABLkSg"></voidcannon-media-player> <voidcannon-media-player video-id="PJ4ZnABLkSg"></voidcannon-media-player>
<voidcannon-media-player video-id="FFgdqhXuldQ"></voidcannon-media-player> <voidcannon-media-player video-id="FFgdqhXuldQ"></voidcannon-media-player>
<voidcannon-media-player video-id="vRdE82xYQhU"></voidcannon-media-player> <voidcannon-media-player video-id="vRdE82xYQhU"></voidcannon-media-player>
### Same Video ID as the last entry above
<voidcannon-media-player video-id="vRdE82xYQhU"></voidcannon-media-player>
## Custom Elements
Voidcannon provides a set of custom html elements that can be used within the standard markdown html syntax.
### &lt;voidcannon-carousel&gt; ### &lt;voidcannon-carousel&gt;
`<voidcannon-carousel>` turns any content into a carousel. Carousels are not server-rendered. `<voidcannon-carousel>` turns any content into a carousel. Carousels are not server-rendered.