DPlayer README

The project's README from github.com/DIYgod/DPlayer. As one markdown file: README.md.

ADPlayer

DPlayer

🍭 Wow, such a lovely HTML5 danmaku video player

npm npm npm

Introduction

image

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

DPlayer supports:

Using DPlayer on your project? Let me know!

Docs

中文文档

Thanks

Sponsors

Contributors

Feel free to submit yours in Let me know!

Tooling

Danmaku api

Plugins

Other

Who use DPlayer?

Donate

DPlayer is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.

You can support DPlayer via donations.

Recurring Donation

One-time Donation

We accept donations via the following ways:

Author

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

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

DPlayer (DIYgod/DPlayer)

Searching Database…

16.5K ·GitHub
这是什么?DPlayer 是一个开源的 HTML5 视频播放器,内置弹幕功能——就是屏幕上滚动飘过的评论——目的是让人们能轻松地在网站里搭建视频和弹幕。
它是嵌到我网站里的库,还是一个独立的应用?它是一个嵌入到网页中使用的前端 JavaScript 库,不是独立应用。官方提供了针对 WordPress、Typecho、Hexo、Z-BlogPHP、Discuz!、Vue 和 React 的现成集成方案。
我怎么把它加到项目里?先用 npm 安装 dplayer 包,然后在页面上的一个容器元素上初始化一个 DPlayer 实例;README 里链接的文档有完整的安装配置指南。
弹幕功能需要我自己搭后端吗?是的——DPlayer 本身只有前端部分。README 推荐了几个社区维护的弹幕后端:DPlayer-node(Node.js)、laravel-danmaku(PHP)、dplayer-live-backend(Node.js,通过 WebSocket 支持直播)以及 RailsGun(Ruby)。
有哪些人在正式使用它?主要是中国的平台和社区:学习强国 App、小红书、极客时间、动漫网站嘀哩嘀哩、浙江大学 CC98 论坛,以及云盘系统 Cloudreve。
播放器自带哪些功能?弹幕、截图、快捷键、清晰度切换、进度条缩略图预览,以及字幕支持。
针对更大的使用场景,有配套工具吗?有——DPlayer-thumbnails 可以生成视频缩略图,DPlayer-Lite 是更轻量的版本,hlsjs-p2p-engine 和 CBPlayer 则能把观众变成无限扩展的 P2P CDN,用于 HLS 和 DASH 流。
这个项目成熟吗?项目从 2016 年就有了,GitHub 上大约有 1.65 万个 star,由 DIYgod 创建并维护,还有众多贡献者的帮助。
Creator
DIYgod
Size
11.3 MB
Stars
16.5K
Age
10y
Commits · 90 Days