mirror of https://github.com/IoTcat/DPlayer.git
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
86ad08cd1a
|
7 years ago | |
---|---|---|
.github | 7 years ago | |
demo | 7 years ago | |
dist | 7 years ago | |
plugin | 7 years ago | |
src | 7 years ago | |
.eslintrc | 7 years ago | |
.gitignore | 8 years ago | |
.travis.yml | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
package.json | 7 years ago | |
postcss.config.js | 7 years ago | |
webpack.config.js | 7 years ago | |
yarn.lock | 7 years ago |
README.md
DPlayer
Wow, such a lovely HTML5 danmaku video player
Introduction
DPlayer is a lovely HTML5 danmaku video player to help people play video and danmaku easily.
DPlayer supports:
- Streaming formats:
- Media formats:
- MP4 H.264
- WebM
- Ogg
- Features:
- Danamku
- Screenshot
- Hotkeys
- Quality switching
Using DPlayer on your project? Let me know!
Install
$ npm install dplayer --save
Quick Start
<link rel="stylesheet" href="https://rawgit.com/DIYgod/DPlayer/master/dist/DPlayer.min.css">
<div id="player1"></div>
<script src="https://rawgit.com/DIYgod/DPlayer/master/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
See docs
Join the Discussion
- Telegram Group
- QQ Group: 415835947
Related Projects
- DPlayer-backend
- DPlayer-data(weekly backup for api.prprpr.me/dplayer)
- DPlayer-for-typecho
- Hexo-tag-dplayer
- DPlayer_for_Z-BlogPHP
- 纸飞机视频区插件(DPlayer for Discuz!)
- dplayer_py_backend
- dplayer_lua_backend
- DPlayer for WordPress
- Vue-DPlayer
- Feel free to submit yours in
Let me know
Who use DPlayer?
- Anotherhome
- 嘀哩嘀哩
- 息萌
- TALD
- webdir
- 0xBBC
- 树洞
- FGHRSH的博客
- 银色子弹
- 妖气山弹幕网
- 御宅同萌 – 聖域
- 動漫御宅堂
- Feel free to submit yours in
Let me know
CDN
Donate
- Donate via Paypal
- Donate via WeChat Pay
- Donate via Alipay
- Donate via Bitcoin: 13CwQLHzPYm2tewNMSJBeArbbRM5NSmCD1
Author
DPlayer © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).
Blog · GitHub @DIYgod · Twitter @DIYgod · Weibo @DIYgod酱 · Telegram Channel 某不科学的DIYgod