Plugin Directory

Changeset 1578774


Ignore:
Timestamp:
01/20/2017 03:04:56 PM (9 years ago)
Author:
toolshot
Message:

Update plugin :

  • Option show/hide share button
  • Fix "Error loading media" in VIP license
Location:
toolshot-player/trunk
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • toolshot-player/trunk/func/func_metabox.php

    r1555194 r1578774  
    3232        wp_enqueue_style("toolshot_player_skin_css", plugins_url("../assets/css/skin-player/".$toolshot_player['skin'].".css", __FILE__), FALSE);
    3333        wp_enqueue_script("jw_player", plugins_url("../assets/js/jwplayer.js", __FILE__), FALSE);
    34         wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player2.js", __FILE__), FALSE);
     34        wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player3.js", __FILE__), FALSE);
    3535        $html .= '<div class="embed-responsive-item">
    3636                        <div id="'.$id_player.'" class="toolshot_player_">Loading the player ...</div>
     
    6262            wp_enqueue_style("toolshot_player_skin_css", plugins_url("../assets/css/skin-player/".$toolshot_player['skin'].".css", __FILE__), FALSE);
    6363            wp_enqueue_script("jw_player", plugins_url("../assets/js/jwplayer.js", __FILE__), FALSE);
    64             wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player2.js", __FILE__), FALSE);
     64            wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player3.js", __FILE__), FALSE);
    6565        }
    6666        $content = html_toolshot_player(get_post_meta($post->ID, '_th_player_url', true), get_post_meta($post->ID, '_th_player_image', true), '').$content;
     
    9292        wp_enqueue_style("toolshot_player_skin_css", plugins_url("../assets/css/skin-player/".$toolshot_player['skin'].".css", __FILE__), FALSE);
    9393        wp_enqueue_script("jw_player", plugins_url("../assets/js/jwplayer.js", __FILE__), FALSE);
    94         wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player2.js", __FILE__), FALSE);
     94        wp_enqueue_script("toolshot_player_js", plugins_url("../assets/js/toolshot.player3.js", __FILE__), FALSE);
    9595    }
    9696    return html_toolshot_player($args['url'], $args['image'], $args['player'], $subtitle);
  • toolshot-player/trunk/readme.txt

    r1555194 r1578774  
    55Requires at least: 3.0.1
    66Tested up to: 4.7
    7 Stable tag: 2.2
     7Stable tag: 2.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696* Add subtitle
    9797
     98= 2.2.1 =
     99* Option show/hide share button
     100* Fix "Error loading media" in VIP license
     101
    98102== Upgrade Notice ==
  • toolshot-player/trunk/toolshot-player.php

    r1555194 r1578774  
    44 * Plugin URI: http://toolshot.com/player
    55 * Description: Player video, support resources available Youtube, Facebook, Xvideos, Google... simple install and easy of use. You can custom player change skins, logo, add ads player.
    6  * Version: 2.2
     6 * Version: 2.2.1
    77 * Author: [email protected]
    88 * Author URI: http://toolshot.com/
     
    4949    //wp_enqueue_script("toolshot_player_js", plugins_url("assets/js/toolshot.player1.js", __FILE__), FALSE);
    5050    wp_enqueue_style('toolshot_player_skin_css', plugin_dir_url( __FILE__ ).'/assets/css/skin-player/'.$toolshot_player['skin'].'.css');
    51     wp_enqueue_script('toolshot_player_js', plugin_dir_url( __FILE__ ).'/assets/js/toolshot.player2.js');
     51    wp_enqueue_script('toolshot_player_js', plugin_dir_url( __FILE__ ).'/assets/js/toolshot.player3.js');
    5252    include 'view/view_toolshot_player_settings.php';
    5353}
     
    8888    toolshot_class_table_insert('toolshot_player', ['name' => 'rewind','value' => 'false']);
    8989    toolshot_class_table_insert('toolshot_player', ['name' => 'fast_forward','value' => 'false']);
     90    toolshot_class_table_insert('toolshot_player', ['name' => 'share','value' => 'true']);
    9091    toolshot_class_table_insert('toolshot_player', ['name' => 'image','value' => 'http://player1.toolshot.com/assets/img/image.jpg']);
    9192    toolshot_class_table_insert('toolshot_player', ['name' => 'logo','value' => '']);
  • toolshot-player/trunk/view/view_toolshot_player_settings.php

    r1555194 r1578774  
    131131                                <label class="selectit"><input value="1" type="checkbox" name="rewind" id="in-category-1" <?=$toolshot_player['rewind']=='true'?'checked':''?>> Rewind Button</label>
    132132                                <label class="selectit"><input value="1" type="checkbox" name="fast_forward" id="in-category-1" <?=$toolshot_player['fast_forward']=='true'?'checked':''?>> Fast Forward Button</label>
     133                                <label class="selectit"><input value="1" type="checkbox" name="share" id="in-category-1" <?=$toolshot_player['share']=='true'?'checked':''?>> Share Button</label>
    133134                            </div>
    134135                            <div class="clear_"></div>
     
    282283        obj_player['rewind'] = thiss.find('*[name=rewind]').prop('checked');
    283284        obj_player['fast_forward'] = thiss.find('*[name=fast_forward]').prop('checked');
     285        obj_player['share'] = thiss.find('*[name=share]').prop('checked');
    284286        obj_player['image'] = thiss.find('*[name=image]').val();
    285287        obj_player['logo'] = thiss.find('*[name=logo]').val();
Note: See TracChangeset for help on using the changeset viewer.