mirror of
https://github.com/zoriya/v10.git
synced 2026-08-14 18:04:49 +00:00
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:
@@ -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>
|
||||
`;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user