mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
docs(site): update element imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user