Skip to content

Commit

Permalink
Update DPlayer to release 1.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: 0xBBC <[email protected]>
  • Loading branch information
BlueCocoa committed Mar 26, 2017
1 parent 19d01df commit bb8541b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
Binary file modified dist/dplayer.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions dplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* Plugin Name: DPlayer for WordPress
* Description: Wow, such a lovely HTML5 danmaku video player comes to WordPress
* Version: 1.1.4
* Version: 1.1.5
* Author: 0xBBC
* Author URI: https://blog.0xbbc.com/
* License: GPLv3
Expand Down Expand Up @@ -153,12 +153,12 @@ public static function dplayer_settings_link( $links, $file ) {
public static function add_script() {
if (!self::$add_script) {
if ( get_option( 'kblog_enable_flv' ) ) {
wp_enqueue_script( '0-dplayer-flv', plugins_url('js/plugin/flv.min.js', __FILE__), false, '1.1.2', false );
wp_enqueue_script( '0-dplayer-flv', plugins_url('js/plugin/flv.min.js', __FILE__), false, '1.1.3', false );
}
if ( get_option( 'kblog_enable_hls' ) ) {
wp_enqueue_script( '0-dplayer-hls', plugins_url('js/plugin/hls.min.js', __FILE__), false, '1.1.2', false );
wp_enqueue_script( '0-dplayer-hls', plugins_url('js/plugin/hls.min.js', __FILE__), false, '1.1.3', false );
}
wp_enqueue_script( 'dplayer', plugins_url('js/DPlayer.min.js', __FILE__), false, '1.1.2', false );
wp_enqueue_script( 'dplayer', plugins_url('js/DPlayer.min.js', __FILE__), false, '1.1.3', false );
wp_enqueue_script( 'init-dplayer', plugins_url('js/init-dplayer.js', __FILE__), false, '1.0.0', false );
self::$add_script = true;
}
Expand Down
4 changes: 1 addition & 3 deletions js/DPlayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/DPlayer.min.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions js/plugin/flv.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: 0xbbc
Tags: video, player, shortcode
Requires at least: 3.0.1
Tested up to: 4.6.1
Stable tag: 1.1.4
Tested up to: 4.7.3
Stable tag: 1.1.5
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -39,6 +39,9 @@ Parameter 'danmu', should DPlayer load danmaku. Default false and it's optional.

== Changelog ==

= 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'
Expand Down

0 comments on commit bb8541b

Please sign in to comment.