此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/DIYgod/DPlayer.git
一款非常好用的媒体播放器

DIYgod a3d7e6d3bc compress HTML string with template-string-optimize-loader 8 years ago
.github 0c5e6a49d7 add ISSUE_TEMPLATE 8 years ago
demo a4f5c2c0f3 New api: switchQuality 8 years ago
dist a3d7e6d3bc compress HTML string with template-string-optimize-loader 8 years ago
nodejs 6edcac1e3d use SimpleCount 8 years ago
plugin 867730d194 web full screen, close #30; new option: video.type 8 years ago
src 4d2c45948f optimize danmaku performance; update dev to eslint4 and webpack3 8 years ago
.eslintrc a042b39550 support segmented videos 8 years ago
.gitignore fe53364920 ignore logs 8 years ago
.travis.yml 64b4ca6419 upgrade node version in travis-ci 8 years ago
LICENSE 2ec309c0a2 Update LICENCE copyright 8 years ago
README.md bb33043ea5 update version 8 years ago
package.json a3d7e6d3bc compress HTML string with template-string-optimize-loader 8 years ago
postcss.config.js e359cceefb use yarn, upgrade to webpack2 8 years ago
webpack.config.js a3d7e6d3bc compress HTML string with template-string-optimize-loader 8 years ago
yarn.lock a3d7e6d3bc compress HTML string with template-string-optimize-loader 8 years ago

README.md

DPlayer

npm npm devDependency Status npm Travis

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

Related Projects

LICENSE

The Star And Thank Author License (SATA)