Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
freeshineit committed Aug 1, 2024
1 parent 51a5599 commit 61ffbf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
## 使用

```ts
import Mp4Player from '@ezuikit/player';
import Mp4Player from '@ezuikit/player-mp4';

// 默认自动播放 (没有声音)
const player = new Mp4Player({
id: 'container',
url: 'https://xxxxxxxxx.com/1.mp4'
});

player.play()
// player.play()
```

0 comments on commit 61ffbf1

Please sign in to comment.