Skip to content
Typecho plugin for DPlayer
PHP JavaScript
Branch: master
Clone or download
Latest commit d971748 Jan 26, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets support pjax Jan 12, 2020
plugin version 1.0.1 Jan 13, 2019
.gitignore Update dplayer to new version Jul 27, 2017
LICENSE add license Jan 26, 2020
Plugin.php support pjax Jan 12, 2020
README.md support pjax Jan 12, 2020

README.md

DPlayer-Typecho

DPlayer for typecho

使用方式

下载后将文件夹名改为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"/]

更多参数待补充

FAQ

1. Pjax页面切换?

重新加载播放器回调函数

loadDPlayer();

LICENSE

MIT © Volio

You can’t perform that action at this time.