This commit is contained in:
Harvey Zack committed 2018-11-23 16:24:49 +08:00
1 parent 1667457188
commit 8d79acdbd5
2 files changed
+7 -9

No files matched your search

+7 -6
View File
@@ -28,6 +28,7 @@ Install with `npm`
```
$ npm install artplayer
```
Or install with `yarn`
```
@@ -56,17 +57,17 @@ Will expose the global variable to `window.Artplayer`.
```js
var art = new Artplayer({
container: '.artplayer-app',
url: 'path/to/video.mp4'
container: '.artplayer-app',
url: 'path/to/video.mp4',
});
```
## Ecosystem
| Project | Description |
| ------------------------------------------------------------------------------------------------------------- | -------------------------- |
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer |
| Project | Description |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer |
| [artplayer-plugin-subtitle](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Subtitle plugin for ArtPlayer |
## License
@@ -43,8 +43,5 @@
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-svgo": "^1.0.1",
"rollup-plugin-uglify": "^6.0.0"
},
"dependencies": {
"vtt-adjust": "^1.0.2"
}
}