mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat: add media-popover, cleanup html demo (#34)
This commit is contained in:
@@ -2,11 +2,11 @@ import { defineVjsPlayer } from '@vjs-10/html';
|
||||
|
||||
defineVjsPlayer();
|
||||
|
||||
document.body.innerHTML = `
|
||||
document.body.innerHTML = /* html */ `
|
||||
<media-provider>
|
||||
<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>
|
||||
<video slot="media" src="https://stream.mux.com/A3VXy02VoUinw01pwyomEO3bHnG4P32xzV7u1j1FSzjNg/high.mp4" muted></video>
|
||||
</media-skin-default>
|
||||
</div>
|
||||
</media-skin-default>
|
||||
|
||||
Reference in New Issue
Block a user