Plugin Directory

Changeset 1531408


Ignore:
Timestamp:
11/10/2016 06:06:06 AM (9 years ago)
Author:
0xbbc
Message:

Fixed bilibili danmaku support

Location:
dplayer-for-wp
Files:
2 edited
7 copied

Legend:

Unmodified
Added
Removed
  • dplayer-for-wp/tags/1.1.3/dplayer.php

    r1530082 r1531408  
    33* Plugin Name: DPlayer for WordPress
    44* Description: Wow, such a lovely HTML5 danmaku video player comes to WordPress
    5 * Version: 1.1.2
     5* Version: 1.1.3
    66* Author: 0xBBC
    77* Author URI: https://blog.0xbbc.com/
     
    7777        if ($atts['hotkey']) $data['hotkey'] = ($atts['hotkey'] == 'true') ? true : false;
    7878        if ($atts['preload']) $data['preload'] = (in_array($atts['preload'], array('auto', 'metadata', 'none')) == true) ? $atts['preload'] : 'metadata';
    79         if ($atts['bilibili']) $data['addition'] = array(get_option( 'kblog_danmaku_url', '' ).'bilibili?aid='.$atts['bilibili']);
     79       
    8080
    8181        $playerCode = '<div id="player'.$id.'" class="dplayer">';
     
    8888            'api' => get_option( 'kblog_danmaku_url', '' ),
    8989        );
     90        if ($atts['bilibili']) $danmaku['addition'] = array(get_option( 'kblog_danmaku_url', '' ).'bilibili?aid='.$atts['bilibili']);
    9091        $data['danmaku'] = ($atts['danmu'] != 'false') ? $danmaku : null;
    9192
  • dplayer-for-wp/tags/1.1.3/readme.txt

    r1530082 r1531408  
    44Requires at least: 3.0.1
    55Tested up to: 4.6.1
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.3
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939
    4040== Changelog ==
     41
     42= 1.1.3 =
     43* Fixed bilibili danmaku support
    4144
    4245= 1.1.2 =
  • dplayer-for-wp/trunk/dplayer.php

    r1530082 r1531408  
    33* Plugin Name: DPlayer for WordPress
    44* Description: Wow, such a lovely HTML5 danmaku video player comes to WordPress
    5 * Version: 1.1.2
     5* Version: 1.1.3
    66* Author: 0xBBC
    77* Author URI: https://blog.0xbbc.com/
     
    7777        if ($atts['hotkey']) $data['hotkey'] = ($atts['hotkey'] == 'true') ? true : false;
    7878        if ($atts['preload']) $data['preload'] = (in_array($atts['preload'], array('auto', 'metadata', 'none')) == true) ? $atts['preload'] : 'metadata';
    79         if ($atts['bilibili']) $data['addition'] = array(get_option( 'kblog_danmaku_url', '' ).'bilibili?aid='.$atts['bilibili']);
     79       
    8080
    8181        $playerCode = '<div id="player'.$id.'" class="dplayer">';
     
    8888            'api' => get_option( 'kblog_danmaku_url', '' ),
    8989        );
     90        if ($atts['bilibili']) $danmaku['addition'] = array(get_option( 'kblog_danmaku_url', '' ).'bilibili?aid='.$atts['bilibili']);
    9091        $data['danmaku'] = ($atts['danmu'] != 'false') ? $danmaku : null;
    9192
  • dplayer-for-wp/trunk/readme.txt

    r1530082 r1531408  
    44Requires at least: 3.0.1
    55Tested up to: 4.6.1
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.3
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939
    4040== Changelog ==
     41
     42= 1.1.3 =
     43* Fixed bilibili danmaku support
    4144
    4245= 1.1.2 =
Note: See TracChangeset for help on using the changeset viewer.