DIYgod mirror
Go to file
DIYgod a3d7e6d3bc
compress HTML string with template-string-optimize-loader
2017-06-25 22:22:11 +08:00
.github add ISSUE_TEMPLATE 2017-03-08 18:52:02 +08:00
demo New api: switchQuality 2017-06-19 03:00:13 +08:00
dist compress HTML string with template-string-optimize-loader 2017-06-25 22:22:11 +08:00
nodejs use SimpleCount 2017-04-19 21:31:14 +08:00
plugin web full screen, close #30; new option: video.type 2017-03-09 00:30:51 +08:00
src optimize danmaku performance; update dev to eslint4 and webpack3 2017-06-25 21:58:44 +08:00
.eslintrc support segmented videos 2017-06-08 00:34:16 +08:00
.gitignore
.travis.yml upgrade node version in travis-ci 2017-02-06 12:26:14 +08:00
LICENSE Update LICENCE copyright 2016-12-30 18:57:01 +08:00
README.md update version 2017-06-19 02:44:56 +08:00
package.json compress HTML string with template-string-optimize-loader 2017-06-25 22:22:11 +08:00
postcss.config.js use yarn, upgrade to webpack2 2017-02-06 12:04:58 +08:00
webpack.config.js compress HTML string with template-string-optimize-loader 2017-06-25 22:22:11 +08:00
yarn.lock compress HTML string with template-string-optimize-loader 2017-06-25 22:22:11 +08:00

README.md

DPlayer

npm npm devDependency Status npm Travis %e2%9d%a4

Wow, such a lovely HTML5 danmaku video player

Introduction

Demo

Docs

Using DPlayer on your project? Let me know!

Screenshot image

Install

$ npm install dplayer --save

CDN

unpkg

cdnjs

BootCDN

RawGit

Quick Start

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

See docs

Run in development

$ npm install
$ npm run dev

Make a release

$ npm install
$ npm run build

Communication Groups

Telegram Group

QQ Group: 415835947

LICENSE

The Star And Thank Author License (SATA)