This commit is contained in:
Harvey committed 2020-02-27 16:59:38 +08:00
1 parent 8d95baabc3
commit dced5f8b34
7 files changed
+2 -9

No files matched your search

+1 -3
View File
@@ -14,7 +14,7 @@
## Features
- <b>大小</b> - `artplayer.js` ≈ `90kb` and `artplayer.css` ≈ `20kb`
- <b>大小</b> - `artplayer.js` ≈ `100kb`
- <b>字幕</b> - 支持 `.VTT`, `.ASS` 和 `.SRT` 格式
- <b>自定义</b> - `右键菜单`, `业务图层`, `视频控制器` 和 `设置面板`
- <b>控制器</b> - `画质切换`, `字幕切换`, `播放速度`, `长宽比`, `视频翻转`, `全屏`, `画中画`, `截图`, `缩略图`, `自适应尺寸`, `高亮` 和 `热键`...
@@ -61,13 +61,11 @@ $ yarn add artplayer
```js
import Artplayer from 'artplayer';
import 'artplayer/dist/artplayer.css';
```
或者直接引入`umd`文件:
```html
<link rel="stylesheet" href="path/to/artplayer.css" />
<script src="path/to/artplayer.js"></script>
```