2016-05-03 14:11:47 +00:00
|
|
|
# DPlayer
|
|
|
|
|
|
|
|
[![npm](https://img.shields.io/npm/v/dplayer.svg?style=flat-square)](https://www.npmjs.com/package/dplayer)
|
2016-10-20 06:39:11 +00:00
|
|
|
[![CDNJS](https://img.shields.io/cdnjs/v/dplayer.svg?style=flat-square)](https://cdnjs.com/libraries/dplayer)
|
2016-07-14 03:14:15 +00:00
|
|
|
[![npm](https://img.shields.io/npm/l/dplayer.svg?style=flat-square)](https://github.com/DIYgod/DPlayer/blob/master/LICENSE)
|
2016-05-03 14:11:47 +00:00
|
|
|
[![devDependency Status](https://img.shields.io/david/dev/DIYgod/dplayer.svg?style=flat-square)](https://david-dm.org/DIYgod/DPlayer#info=devDependencies)
|
|
|
|
[![npm](https://img.shields.io/npm/dt/dplayer.svg?style=flat-square)](https://www.npmjs.com/package/dplayer)
|
|
|
|
[![Travis](https://img.shields.io/travis/DIYgod/DPlayer.svg?style=flat-square)](https://travis-ci.org/DIYgod/DPlayer)
|
|
|
|
[![%e2%9d%a4](https://img.shields.io/badge/made%20with-%e2%9d%a4-ff69b4.svg?style=flat-square)](https://www.anotherhome.net/)
|
|
|
|
|
2016-05-17 18:23:44 +00:00
|
|
|
> Wow, such a lovely HTML5 danmaku video player
|
2016-05-03 14:11:47 +00:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
2016-07-14 03:14:15 +00:00
|
|
|
[Demo](http://dplayer.js.org/)
|
2016-05-19 14:49:13 +00:00
|
|
|
|
2016-11-28 04:28:51 +00:00
|
|
|
[Docs](http://dplayer.js.org/docs)
|
|
|
|
|
2016-10-17 03:15:10 +00:00
|
|
|
Using DPlayer on your project? [Let me know!](https://github.com/DIYgod/DPlayer/issues/31)
|
2016-10-17 03:14:21 +00:00
|
|
|
|
2016-05-20 00:48:30 +00:00
|
|
|
Screenshot
|
2016-05-20 13:31:17 +00:00
|
|
|
![image](http://i.imgur.com/207ch36.jpg)
|
2016-05-20 00:48:30 +00:00
|
|
|
|
2016-05-03 14:11:47 +00:00
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install dplayer --save
|
2016-05-03 14:14:11 +00:00
|
|
|
```
|
2016-05-03 14:11:47 +00:00
|
|
|
|
2016-10-20 06:39:11 +00:00
|
|
|
## CDN
|
|
|
|
|
|
|
|
[cdnjs](https://cdnjs.com/libraries/dplayer)
|
|
|
|
|
2016-11-05 13:16:34 +00:00
|
|
|
[BootCDN](http://www.bootcdn.cn/dplayer/)
|
|
|
|
|
2016-11-28 07:02:19 +00:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
See [docs](http://dplayer.js.org/docs)
|
|
|
|
|
2016-05-03 14:11:47 +00:00
|
|
|
## Run in development
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install
|
2016-11-28 07:02:19 +00:00
|
|
|
$ npm run start
|
2016-05-03 14:11:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Make a release
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install
|
2016-11-28 07:02:19 +00:00
|
|
|
$ npm run test
|
2016-05-03 14:11:47 +00:00
|
|
|
```
|
|
|
|
|
2016-05-13 00:43:39 +00:00
|
|
|
## Related Projects
|
|
|
|
|
|
|
|
- [DPlayer-for-typecho](https://github.com/volio/DPlayer-for-typecho)
|
2016-07-14 03:14:15 +00:00
|
|
|
|
2016-05-23 16:20:43 +00:00
|
|
|
- [Hexo-tag-dplayer](https://github.com/NextMoe/hexo-tag-dplayer)
|
2016-07-14 03:14:15 +00:00
|
|
|
|
2016-06-01 15:05:13 +00:00
|
|
|
- [DPlayer_for_Z-BlogPHP](https://github.com/fghrsh/DPlayer_for_Z-BlogPHP)
|
2016-05-13 00:43:39 +00:00
|
|
|
|
2016-08-24 03:02:31 +00:00
|
|
|
- [纸飞机视频区插件(DPlayer for Discuz!)](https://coding.net/u/Click_04/p/video/git)
|
|
|
|
|
2016-09-08 17:17:24 +00:00
|
|
|
- [dplayer_py_backend](https://github.com/dixyes/dplayer_py_backend)
|
|
|
|
|
|
|
|
- [dplayer_lua_backend](https://github.com/dixyes/dplayer_lua_backend)
|
|
|
|
|
2016-09-19 01:51:56 +00:00
|
|
|
- [DPlayer for WordPress](https://github.com/BlueCocoa/DPlayer-WordPress)
|
|
|
|
|
2016-05-03 14:11:47 +00:00
|
|
|
## LICENSE
|
|
|
|
|
2016-10-20 06:11:21 +00:00
|
|
|
[The Star And Thank Author License (SATA)](https://github.com/DIYgod/DPlayer/blob/master/LICENSE)
|