DIYgod/DPlayer ? reverse-engineered prompt
Reverse engineered prompt
Build me a lovely HTML5 video player library for the web that can play normal videos and also show danmaku comments over the video.
I want it to support common playback sources like HLS, FLV, MPEG DASH, WebTorrent, and regular MP4 files, with a clean player UI and useful controls like quality switching, screenshots, hotkeys, thumbnails, and subtitles. Please make it easy to drop into a project and configure with simple options, and include a demo page plus clear docs so I can see how to use it right away.
Make the experience feel polished and friendly, with sensible defaults, good responsiveness, and support for embedding on a website. If you need to look up current docs for the streaming libraries, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit