feat: add compound html timerange component (#14)

* fix: add context logic to component factory

* feat: add compound time range html component
This commit is contained in:
Wesley Luyten
2025-09-18 17:58:53 -05:00
committed by GitHub
parent 71a8dafd74
commit 017ecdbff9
12 changed files with 424 additions and 133 deletions
+6 -3
View File
@@ -4,8 +4,11 @@ defineVjsPlayer();
document.body.innerHTML = `
<media-provider>
<media-skin-default>
<video slot="media" src="https://www.w3schools.com/html/mov_bbb.mp4" muted></video>
<div style="width: 100%; max-width: 800px; margin: 0 auto;">
<media-skin-default>
<video slot="media" src="https://stream.mux.com/a4nOgmxGWg6gULfcBbAa00gXyfcwPnAFldF8RdsNyk8M/high.mp4" muted></video>
</media-skin-default>
</div>
</media-skin-default>
</media-provider>
`;
`;