此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/DIYgod/DPlayer.git
一款非常好用的媒体播放器
|
hace 8 años | |
---|---|---|
.github | hace 8 años | |
demo | hace 8 años | |
dist | hace 8 años | |
nodejs | hace 8 años | |
plugin | hace 8 años | |
src | hace 8 años | |
.eslintrc | hace 8 años | |
.gitignore | hace 8 años | |
.travis.yml | hace 8 años | |
LICENSE | hace 8 años | |
README.md | hace 8 años | |
package.json | hace 8 años | |
postcss.config.js | hace 8 años | |
webpack.config.js | hace 8 años | |
yarn.lock | hace 8 años |
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