Files
ArtPlayer/packages/artplayer-tool-github/README.md
T
2019-05-09 21:18:12 +08:00

38 lines
668 B
Markdown

# artplayer-plugin-github
Danmu plugin for ArtPlayer
## Demo
[Checkout the demo](https://artplayer.org/?libs=./uncompiled/artplayer-tool-github.js%0A./uncompiled/artplayer-plugin-danmu.js&example=github) from Github Pages
## Install
Install with `npm`
```bash
$ npm install artplayer-plugin-github
```
Or install with `yarn`
```bash
$ yarn add artplayer-plugin-github
```
```js
import ArtplayerToolGithub from 'artplayer-plugin-github';
```
Or umd builds are also available
```html
<script src="artplayer-plugin-github.js"></script>
```
Will expose the global variable to `window.ArtplayerToolGithub`.
## License
MIT © [Harvey Zack](https://sleepy.im/)