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>
```
+1 -1
View File
@@ -16,7 +16,7 @@
## Features
- <b>Size</b> - `artplayer.js` ≈ `90kb` and `artplayer.css` ≈ `20kb`
- <b>Size</b> - `artplayer.js` ≈ `100kb`
- <b>Subtitle</b> - Support for `.VTT`, `.ASS` and `.SRT` formats
- <b>Customizable</b> - `Right Click Menu`, `Business Layer`, `Video Controller` and `Settings Panel`
- <b>Controller</b> - `Quality Switch`, `Subtitle Switch`, `Play Speed`, `Aspect Ratio`, `Video Flip`, `Fullscreen`, `Picture In Picture`, `Screenshot`, `Thumbnail`, `Adaptive Size`, `Highlight` and `Hotkey`...
-1
View File
@@ -24,7 +24,6 @@ $ yarn add artplayer-react
```js
import ArtplayerComponent from 'artplayer-react';
import 'artplayer-react/dist/artplayer-react.css';
// ...
<ArtplayerComponent
-1
View File
@@ -4,7 +4,6 @@
"expose": "ArtplayerReact",
"description": "React Component for Artplayer",
"main": "dist/artplayer-react.js",
"style": "dist/artplayer-react.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
-1
View File
@@ -24,7 +24,6 @@ $ yarn add artplayer-vue
```js
import ArtplayerComponent from 'artplayer-vue';
import 'artplayer-vue/dist/artplayer-vue.css';
// ...
<ArtplayerComponent
-1
View File
@@ -4,7 +4,6 @@
"expose": "ArtplayerVue",
"description": "Vue Component for Artplayer",
"main": "dist/artplayer-vue.js",
"style": "dist/artplayer-vue.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
-1
View File
@@ -4,7 +4,6 @@
"expose": "Artplayer",
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
"main": "dist/artplayer.js",
"style": "dist/artplayer.css",
"types": "types/artplayer.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"