DPlayer is a lovely HTML5 danmaku video player to help people build video and danmaku easily.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
DIYgod 6dd8e6fd1f
user module; unlimited danmaku setting
8 years ago
.github add ISSUE_TEMPLATE 9 years ago
demo fullscreen module; web fullscreen event 8 years ago
dist user module; unlimited danmaku setting 8 years ago
src user module; unlimited danmaku setting 8 years ago
webpack add git hash 8 years ago
.eslintrc eslint: no-trailing-spaces; minor style 8 years ago
.gitignore ignore logs 9 years ago
.travis.yml upgrade node version in travis-ci 9 years ago
LICENSE update README and LICENSE 8 years ago
README.md update Who use DPlayer 8 years ago
package.json user module; unlimited danmaku setting 8 years ago
yarn.lock add git hash 8 years ago

README.md

ADPlayer

DPlayer

Wow, such a lovely HTML5 danmaku video player

npm npm npm size Travis devDependency Status donate

Introduction

image

DPlayer is a lovely HTML5 danmaku video player to help people build video and danmaku easily.

DPlayer supports:

  • Streaming formats
  • Media formats
    • MP4 H.264
    • WebM
    • Ogg Theora Vorbis
  • Features
    • Danamku
    • Screenshot
    • Hotkeys
    • Quality switching
    • Thumbnails

Using DPlayer on your project? Let me know!

Demo

Docs

Install

$ npm install dplayer --save

Quick Start

<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/'
    }
});

Usage

Read the Docs

Join the Discussion

Who use DPlayer?

CDN

Donate

Author

DPlayer © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).

Blog @Anotherhome · GitHub @DIYgod · Twitter @DIYgod · Telegram Channel @awesomeDIYgod