GitHub - DemoCap/DPlayer: :lollipop: Wow, such a lovely HTML5 danmaku video player
DPlayer is a lovely HTML5 danmaku video player to help people build video and danmaku easily.
$ npm install dplayer --save
<link rel="stylesheet" href="dist/DPlayer.min.css"> <div id="player1"></div> <script src="dist/DPlayer.min.js"></script>
var dp = new DPlayer({ element: document.getElementById('player1'), video: { url: 'dplayer.mp4', pic: 'dplayer.png' }, danmaku: { id: 'testid', api: 'https://api.prprpr.me/dplayer/' } });
DPlayer © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).