[go: up one dir, main page]

Skip to content
forked from DIYgod/DPlayer

🍭 Wow, such a lovely HTML5 danmaku video player

License

Notifications You must be signed in to change notification settings

issaTan/DPlayer

 
 

Repository files navigation

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

Related Projects

LICENSE

The Star And Thank Author License (SATA)

About

🍭 Wow, such a lovely HTML5 danmaku video player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.8%
  • CSS 28.2%