DPlayer.png

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

下载后将文件夹名改为DPlayer上传启用即可

默认不自动播放,弹幕不开启(后台设置弹幕服务器)

[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg"/]

开启弹幕

[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" danmu="true"/]

开启自动播放

[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" autoplay="true"/]

Pjax页面切换重新加载播放器回调函数

loadDPlayer();

DPlayer.zip下载

标签: typecho

添加新评论