添加部分可配置图标

This commit is contained in:
Harvey Zack committed 2018-11-24 10:23:04 +08:00
1 parent bdef8b311d
commit be7b646c31
12 files changed
+72 -20

No files matched your search

+20
View File
@@ -409,6 +409,26 @@ var art = new Artplayer({
});
```
## icons
- Type: `Object`
- Default: `{}`
Replace the default icon
[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',
icons: {
loading: 'Loading...'
}
});
```
## theme
- Type: `String`