79 lines
2.3 KiB
Markdown
79 lines
2.3 KiB
Markdown
# DPlayer
|
|
|
|
[](https://www.npmjs.com/package/dplayer)
|
|
[](https://cdnjs.com/libraries/dplayer)
|
|
[](https://github.com/DIYgod/DPlayer/blob/master/LICENSE)
|
|
[](https://david-dm.org/DIYgod/DPlayer#info=devDependencies)
|
|
[](https://www.npmjs.com/package/dplayer)
|
|
[](https://travis-ci.org/DIYgod/DPlayer)
|
|
[](https://www.anotherhome.net/)
|
|
|
|
> Wow, such a lovely HTML5 danmaku video player
|
|
|
|
## Introduction
|
|
|
|
[Demo](http://dplayer.js.org/)
|
|
|
|
[Docs](http://dplayer.js.org/docs)
|
|
|
|
Using DPlayer on your project? [Let me know!](https://github.com/DIYgod/DPlayer/issues/31)
|
|
|
|
Screenshot
|
|

|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install dplayer --save
|
|
```
|
|
|
|
## CDN
|
|
|
|
[unpkg](https://unpkg.com/dplayer)
|
|
|
|
[cdnjs](https://cdnjs.com/libraries/dplayer)
|
|
|
|
[BootCDN](http://www.bootcdn.cn/dplayer/)
|
|
|
|
## Usage
|
|
|
|
See [docs](http://dplayer.js.org/docs)
|
|
|
|
## Run in development
|
|
|
|
```
|
|
$ npm install
|
|
$ npm run dev
|
|
```
|
|
|
|
## Make a release
|
|
|
|
```
|
|
$ npm install
|
|
$ npm run build
|
|
```
|
|
|
|
## Related Projects
|
|
|
|
- [Official danmaku data (https://api.prprpr.me/dplayer/)](https://github.com/DIYgod/DPlayer-data)
|
|
|
|
- [DPlayer-for-typecho](https://github.com/volio/DPlayer-for-typecho)
|
|
|
|
- [Hexo-tag-dplayer](https://github.com/NextMoe/hexo-tag-dplayer)
|
|
|
|
- [DPlayer_for_Z-BlogPHP](https://github.com/fghrsh/DPlayer_for_Z-BlogPHP)
|
|
|
|
- [纸飞机视频区插件(DPlayer for Discuz!)](https://coding.net/u/Click_04/p/video/git)
|
|
|
|
- [dplayer_py_backend](https://github.com/dixyes/dplayer_py_backend)
|
|
|
|
- [dplayer_lua_backend](https://github.com/dixyes/dplayer_lua_backend)
|
|
|
|
- [DPlayer for WordPress](https://github.com/BlueCocoa/DPlayer-WordPress)
|
|
|
|
- [Vue-DPlayer](https://github.com/sinchang/vue-dplayer)
|
|
|
|
## LICENSE
|
|
|
|
[The Star And Thank Author License (SATA)](https://github.com/DIYgod/DPlayer/blob/master/LICENSE)
|