Skip to content

Commit

Permalink
chore(doc)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya authored Sep 11, 2024
1 parent 326325d commit 15ee5f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions packages/dash/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ const generateSetting = (player: Player, instance: MediaPlayerClass, options: Da
instance.setCurrentTrack(audioTracks.find((t) => (t.id as unknown as number) == defaultAudio)!)
}

console.log(audioTracks!)

settingUpdater({
name: 'Language',
icon: player.context.ui.icons.lang,
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/docs/ui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm i @oplayer/ui
```html
<!-- Recommend -->
<script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/ui@latest/dist/index.core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/ui@latest/dist/index.min.js"></script>

<!-- or just one **@oplayer/ui version updated with core** -->
<!-- <script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.ui.js"></script> -->
Expand Down
5 changes: 1 addition & 4 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ npm i @oplayer/core @oplayer/ui

```html
<script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/ui@latest/dist/index.core.js"></script>

<!-- or just one -->
<!-- <script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.ui.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/@oplayer/ui@latest/dist/index.min.js"></script>
```

## Basic
Expand Down

0 comments on commit 15ee5f5

Please sign in to comment.