docs(site): update element imports

This commit is contained in:
Rahim
2025-10-30 04:59:37 +00:00
parent eaaa03c284
commit 21b5dba955
5 changed files with 3 additions and 9 deletions
@@ -116,10 +116,7 @@ function Player() {
<TabsPanel value="javascript" client:load>
```ts
import { defineVjsPlayer } from '@videojs/html';
import '@videojs/html/skins/frosted';
defineVjsPlayer();
```
</TabsPanel>
@@ -93,11 +93,8 @@ export default function App() {
</FrameworkCase>
<FrameworkCase frameworks={["html"]}>
```ts
import { defineVjsPlayer } from '@videojs/html';
import '@videojs/html/skins/frosted';
defineVjsPlayer();
document.body.innerHTML = `
<media-provider>
<media-skin-frosted>
@@ -1,4 +1,4 @@
import '@videojs/html';
import '@videojs/html/define/media-fullscreen-button';
import '@videojs/html/icons';
// The web components will automatically register themselves
@@ -1,4 +1,4 @@
import '@videojs/html';
import '@videojs/html/define/media-mute-button';
import '@videojs/html/icons';
// The web components will automatically register themselves
@@ -1,4 +1,4 @@
import '@videojs/html';
import '@videojs/html/define/media-play-button';
import '@videojs/html/icons';
// The web components will automatically register themselves