DPlayer for WordPress
DPlayer-WordPress: DPlayer for WordPress v1.0.0
DPlayer is such a lovely HTML5 danmaku video player by DIYGod, and it's used on many platforms.
Today, DPlayer is coming to WordPress.
Usage is rather simple, and here is the template of shortcode we supported.
[dplayer url="http://xxx.xxx.com/xxx.mp4" pic="http://xxx.xxx.com/xxx.png" autoplay="true" danmu="true"/]
- url is the source URL to the video file, you can upload the video to your WordPress library, then use it here.
- pic is the poster of the video. And it's optional.
- autoplay, as the name suggests, if it is true, then once the video is prepared, it starts to play . Default false and it's optional also.
- danmu, should DPlayer load danmaku. Default false and it's optional.