Typecho plugin for DPlayer
Go to file
2020-03-17 15:10:14 +08:00
assets Fixed ‘myField isn‘t defined’ if editor not null. 2020-03-17 15:10:14 +08:00
plugin version 1.0.1 2019-01-13 22:07:00 +08:00
.gitignore Update dplayer to new version 2017-07-27 09:44:41 +08:00
LICENSE add license 2020-01-26 20:13:48 +08:00
Plugin.php support pjax 2020-01-12 21:49:37 +08:00
README.md support pjax 2020-01-12 21:49:37 +08:00

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