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