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)
|
|
|
|
[![npm](https://img.shields.io/npm/l/dplayer.svg?style=flat-square)](https://www.npmjs.com/package/dplayer)
|
|
|
|
[![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-03 14:14:11 +00:00
|
|
|
Wow, such a lovely HTML5 danmaku video player
|
2016-05-03 14:11:47 +00:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
|
|
**Notice:** This player is still under development.
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install dplayer --save
|
2016-05-03 14:14:11 +00:00
|
|
|
```
|
2016-05-03 14:11:47 +00:00
|
|
|
|
|
|
|
## Run in development
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install
|
|
|
|
$ npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
## Make a release
|
|
|
|
|
|
|
|
```
|
|
|
|
$ npm install
|
|
|
|
$ npm run build
|
|
|
|
```
|
|
|
|
|
2016-05-11 17:27:56 +00:00
|
|
|
## Todo
|
|
|
|
|
|
|
|
- [ ] 缓冲提示
|
|
|
|
|
|
|
|
- [ ] 快捷键: 空格暂停,双击全屏, 方向键控制进度
|
|
|
|
|
|
|
|
- [ ] 弹幕相关
|
|
|
|
|
|
|
|
- [ ] icon 动画
|
|
|
|
|
|
|
|
- [ ] 右键
|
|
|
|
|
2016-05-03 14:11:47 +00:00
|
|
|
|
|
|
|
## LICENSE
|
|
|
|
|
|
|
|
MIT © [DIYgod](http://github.com/DIYgod)
|