Plugin Directory

Changeset 1488350


Ignore:
Timestamp:
09/01/2016 06:48:50 PM (10 years ago)
Author:
zubaka
Message:

Switch to v2.2

Location:
zbplayer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • zbplayer/trunk/css/zbPlayer.css

    r1487696 r1488350  
    11.zbPlayerNative {display: none;}
    22.zbPlayerNativeMobile {width: 100%;}
     3div.zbPlayer span a img{display: inline;}
  • zbplayer/trunk/readme.txt

    r1338499 r1488350  
    55Requires at least: 3.5
    66Tested up to: 4.4.1
    7 Stable tag: 2.1.13
     7Stable tag: 2.2
    88License: Dual Licensed under the MIT and GPLv2 or later
    99
     
    5151
    5252== Changelog ==
     53
     54= 2.2 =
     55*    Show native player for mobile if flag selected in admin
    5356
    5457= 2.1.13 =
  • zbplayer/trunk/zbPlayer.admin.php

    r1486755 r1488350  
    77 *
    88 *  zbPlayer.admin.php
    9  *  Release 2.1.13 January 2016
     9 *  Release 2.2 September 2016
    1010 */
    1111
  • zbplayer/trunk/zbPlayer.php

    r1487696 r1488350  
    44Plugin URI: http://gilevich.com/portfolio/zbplayer
    55Description: Converts mp3 files links to a small flash player and a link to download file mp3 file. Also you can share your mp3 files with that plugin.
    6 Version: 2.1.13
     6Version: 2.2
    77Author: Vladimir Gilevich
    88Author URI: http://gilevich.com/
     
    1010*/
    1111
    12 define('ZBPLAYER_VERSION', "2.1.13");
     12define('ZBPLAYER_VERSION', "2.2");
    1313define('ZBPLAYER_DEFAULT_WIDTH', "500");
    1414define('ZBPLAYER_DEFAULT_INITIALVOLUME', "60");
     
    4242add_filter('the_content', 'zbp_content');
    4343add_action('plugins_loaded', 'zbp_init');
     44add_action('wp_enqueue_scripts', 'zbp_init_scripts');
    4445
    4546function zbp_init()
     
    8182    }
    8283    zbp_load_language_file();
    83 
     84}
     85
     86function zbp_init_scripts()
     87{
    8488    wp_enqueue_style('zbplayer-style', get_bloginfo('wpurl').'/'.str_replace("\\", '/', substr(realpath(dirname(__FILE__)), strlen(ABSPATH))) . '/css/zbPlayer.css');
    8589    wp_enqueue_script('zbplayer-flash', get_bloginfo('wpurl').'/'.str_replace("\\", '/', substr(realpath(dirname(__FILE__)), strlen(ABSPATH))) . '/js/zbPlayerFlash.js');
Note: See TracChangeset for help on using the changeset viewer.