Title: DPlayer for WordPress
Author: 0xBBC
Published: <strong>2016 年 9 月 23 日</strong>
Last modified: 2018 年 11 月 13 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/dplayer-for-wp.svg)

# DPlayer for WordPress

 由 [0xBBC](https://profiles.wordpress.org/0xbbc-1/) 開發

[下載](https://downloads.wordpress.org/plugin/dplayer-for-wp.1.2.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dplayer-for-wp/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dplayer-for-wp/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dplayer-for-wp/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dplayer-for-wp/#developers)

 [技術支援](https://wordpress.org/support/plugin/dplayer-for-wp/)

## 外掛說明

[DPlayer](http://github.com/DIYgod/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.

## 螢幕擷圖

 * [[
 * Write the shortcode manually in your editor
 * [[
 * Save and you’ll get this lovely danmuku video player!
 * [[
 * Config Danmaku API URL and token in settings page

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/dplayer` directory, or install
    the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. No configuration is needed, enjoy it!

## 使用者評論

![](https://secure.gravatar.com/avatar/8de3a60031fbaf770b1801836002e97251f46a7e995a731aee14af42e54883dd?
s=60&d=retro&r=g)

### 󠀁[没有更新？缺少视频播放列表功能](https://wordpress.org/support/topic/%e6%b2%a1%e6%9c%89%e6%9b%b4%e6%96%b0%ef%bc%9f/)󠁿

 [sanjunx](https://profiles.wordpress.org/sanjunx/) 2018 年 8 月 12 日

位于中国

![](https://secure.gravatar.com/avatar/ec4b4b039cfbc685adc85e95404aea09b6ffe5e333a649a56db1c6d45a00ee52?
s=60&d=retro&r=g)

### 󠀁[Subaru-kun Approve Dplayer](https://wordpress.org/support/topic/subaru-kun-approve-dplayer/)󠁿

 [f4f00q](https://profiles.wordpress.org/f4f00q/) 2016 年 10 月 6 日

danmaku don’t work hmm annoying Msg but everything else is fine

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈DPlayer for WordPress〉的開發相關工作。

參與者

 *   [ 0xBBC ](https://profiles.wordpress.org/0xbbc-1/)

[將〈DPlayer for WordPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dplayer-for-wp)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/dplayer-for-wp/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/dplayer-for-wp/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/dplayer-for-wp/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/dplayer-for-wp/)。

## 變更記錄

#### 1.2.5

Fix a bug

#### 1.2.4

Add shortcode id, shortcode table is here, https://github.com/MoePlayer/DPlayer-
WordPress

#### 1.2.3

boost to DPlayer 1.25.0

#### 1.2.2

BootCDN updates too slowly. Change to cdnjs.cat.net

#### 1.2.1

Using BootCDN

#### 1.2.0

Updating DPlayer to its master branch

#### 1.1.8

Using the right API to enqueue DPlayer CSS.

#### 1.1.7

Update DPlayer to release 1.4.0. Please visit https://github.com/DIYgod/DPlayer/
releases for details.

#### 1.1.6

Improve compatibility on old versions of PHP.

#### 1.1.5

Update DPlayer to release 1.1.3. Please visit https://github.com/DIYgod/DPlayer/
releases for details.

#### 1.1.4

 * Extended support for bilibili param, now you can use either
 * bilibili=’23333′
 * bilibili=’http://www.bilibili.com/video/av2333333/index_233.html#page=2333′
    
   to load additional danmaku.

This plugin will give you exactly the danma that you need, which means,

If you give the original URL to the bilibili video, this plugin will identify the
URL format, load the right danmaku. In this example, ‘http://www.bilibili.com/video/
av2333333/index_23333#page=233’ is given. And the plugin knows that aid is 2333333
and your requested page is 2333. (According to bilibili, ‘index_233.html#page=2333’
means that you starts at page 233 but currently you’re watching page 2333)

#### 1.1.3

 * Fixed bilibili danmaku support

#### 1.1.2

 * Update DPlayer to version 1.1.2
 * Add support for hls.min.js
 * Add support for flv.min.js

#### 1.0.9

 * Update DPlayer to version 1.1.1

#### 1.0.8

 * Add settings page for API URL and token

#### 1.0.7

 * Change to new API URL ‘//danmaku.daoapp.io/’
 * Update DPlayer to 1.0.10

#### 1.0.6

 * Compatibility with PHP 5

#### 1.0.5

 * Using preload=”metadata” in js/DPlayer.min.js

#### 1.0.4

 * Upgrade to GPLv2 License

#### 1.0.3

 * Fixed a bug when assign default value

#### 1.0.2

 * Conform to the WordPress readme.txt standard
 * Add screenshots

#### 1.0.1

 * Returns the generated code instead of echoing it

#### 1.0.0

w
 * Initial version

## 中繼資料

 *  版本 **1.2.5**
 *  最後更新 **8 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dplayer-for-wp/)
 * 標籤:
 * [player](https://tw.wordpress.org/plugins/tags/player/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [video](https://tw.wordpress.org/plugins/tags/video/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dplayer-for-wp/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/dplayer-for-wp/reviews/)

## 參與者

 *   [ 0xBBC ](https://profiles.wordpress.org/0xbbc-1/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/dplayer-for-wp/)