此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/DIYgod/DPlayer.git
一款非常好用的媒体播放器
|
|
8 years ago | |
|---|---|---|
| .github | 9 years ago | |
| demo | 8 years ago | |
| dist | 8 years ago | |
| nodejs | 8 years ago | |
| plugin | 9 years ago | |
| src | 8 years ago | |
| .eslintrc | 8 years ago | |
| .gitignore | 9 years ago | |
| .travis.yml | 9 years ago | |
| LICENSE | 9 years ago | |
| README.md | 8 years ago | |
| package.json | 8 years ago | |
| postcss.config.js | 9 years ago | |
| webpack.config.js | 8 years ago | |
| yarn.lock | 8 years ago |
Wow, such a lovely HTML5 danmaku video player
Using DPlayer on your project? Let me know!
$ npm install dplayer --save
var dp = new DPlayer({
element: document.getElementById('player1'),
video: {
url: 'dplayer.mp4',
pic: 'dplayer.png'
},
danmaku: {
id: 'testid',
api: 'https://api.prprpr.me/dplayer/'
}
});
See docs
$ npm install
$ npm run dev
$ npm install
$ npm run build