mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(example/react): improvements to react examples (#210)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import '@videojs/html/skins/frosted';
|
||||
|
||||
document.getElementById('app').innerHTML = /* html */ `
|
||||
document.getElementById('app')!.innerHTML = /* html */ `
|
||||
<video-provider>
|
||||
<media-skin-frosted style="border-radius: 2rem; width: 100%; margin: 2rem auto; aspect-ratio: 16/9">
|
||||
<video
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '@videojs/html/skins/minimal';
|
||||
|
||||
document.getElementById('app').innerHTML = /* html */ `
|
||||
document.getElementById('app')!.innerHTML = /* html */ `
|
||||
<video-provider>
|
||||
<media-skin-minimal style="border-radius: 0.75rem; width: 100%; margin: 2rem auto; aspect-ratio: 16/9">
|
||||
<video
|
||||
|
||||
Reference in New Issue
Block a user