DPlayer helps sites embed video with scrolling danmaku comments and common streaming formats. It ships as a browser library for MP4, HLS, FLV, DASH, and related sources.
Overview
DPlayer is a browser-side HTML5 player focused on sites that want both standard video controls and danmaku-style bullet comments over the picture. Developers integrate it into web pages to present streams and files to end users without building a player from scratch.
Supported media includes common file types such as MP4 H.264, WebM, and Ogg, plus adaptive and streaming protocols including HLS, FLV, and DASH, along with hooks for other custom stream handlers. Viewer-facing controls cover quality switching, thumbnails, subtitles, screenshots, and keyboard shortcuts.
The project is maintained as an MIT-licensed library with documentation in multiple languages, optional plugins, and a separate danmaku API for comment data. It is embeddable front-end code rather than a streaming server; you host video and wire DPlayer into your site’s HTML and JavaScript.
Key features
- Danmaku comment overlay
- HLS FLV and DASH streaming
- MP4 WebM and Ogg playback
- Quality level switching
- Thumbnail preview support
- Subtitle track support
- In-player screenshots
- Keyboard hotkeys
Use cases
- Anime or live comment video sites
- Embedding streaming pages
- Educational sites with overlay notes
- Custom web media portals