docs: fix a typo, close #493
This commit is contained in:
parent
4162f4f7d1
commit
98e82590ed
|
|
@ -149,7 +149,7 @@ mutex | true | prevent to play multiple player at the same time, pause other pla
|
|||
|
||||
```js
|
||||
const dp = new DPlayer({
|
||||
container: document.getElementById('player'),
|
||||
container: document.getElementById('dplayer'),
|
||||
autoplay: false,
|
||||
theme: '#FADFA3',
|
||||
loop: true,
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ mutex | true | 互斥,阻止多个播放器同时播放,当前播放器播
|
|||
|
||||
```js
|
||||
const dp = new DPlayer({
|
||||
container: document.getElementById('player'),
|
||||
container: document.getElementById('dplayer'),
|
||||
autoplay: false,
|
||||
theme: '#FADFA3',
|
||||
loop: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue