BACK TO DIRECTORY

DPlayer for WordPress

by 0xBBC

5.0
(2 ratings)

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=”https://anotherhome.net/DIYgod-cannot-even-discribe.mp4″ pic=”https://anotherhome.com/DIYgod-cannot-even-discribe.png” autoplay=”true” danmu=”true”/]

Parameter ‘url’ is the source URL to the video file, you can upload the video to your WordPress library, then use it here.
Parameter ‘pic’ is the poster of the video. And it’s optional.
Parameter ‘autoplay’, as the name suggests, if it is true, then once the video is prepared, it starts to play . Default false and it is optional also.
Parameter ‘screenshot’, enable screenshot?. Optional and default false.
Parameter ‘loop’, enable loop?. Optional and default false.
Parameter ‘preload’, preload mode, ‘auto’, ‘metatdata’ or ‘none’. Optional and default metadata.
Parameter ‘hotkey’, enable builtin hotkey? including left, right and Space. Optional and default true.
Parameter ‘bilibili’, bilibili视频AV号 或者 完整的bilibili视频链接. Additional danmaku from bilibili
Parameter ‘danmu’, should DPlayer load danmaku. Default false and it’s optional.

Screenshots

Write the shortcode manually in your editor

Write the shortcode manually in your editor

Save and you’ll get this lovely danmuku video player!

Save and you’ll get this lovely danmuku video player!

Config Danmaku API URL and token in settings page

Config Danmaku API URL and token in settings page

Plugin Details

Active Installs
20
Total Downloads
8,482
Version
1.2.5
Requires WP
3.0.1
Requires PHP
Tested Up To
4.9.31
Added
2016-09-23
Last Updated
2018-11-13 12:13pm GMT

Ratings

5
2
4
0
3
0
2
0
1
0