添加muted功能

This commit is contained in:
Harvey Zack committed 2018-11-22 10:42:16 +08:00
1 parent fa18560b2e
commit 3cd470a83c
10 files changed
+112 -70

No files matched your search

+18
View File
@@ -144,6 +144,24 @@ var art = new Artplayer({
});
```
## muted
- Type: `Boolean`
- Default: `false`
Whether to mute by default
[Run Code](/)
```js
var url = 'https://blog.zhw-island.com/assets-cdn';
var art = new Artplayer({
container: '.artplayer-app',
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
muted: true
});
```
## autoplay
- Type: `Boolean`