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