Plugin Directory

Changeset 555191


Ignore:
Timestamp:
06/09/2012 03:13:19 AM (14 years ago)
Author:
nurungji
Message:
 
Location:
hana-flv-player/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hana-flv-player/trunk/hana-flv-player.php

    r553661 r555191  
    44Plugin URI: http://wpmarketing.org/plugins/hana-flv-player/
    55Description: The best way to embed Flash Player and Flash movie in your Wordpress Blog. Includes GPL Flowplayer, OS FLV player, and MediaElement.js. Usage: <code>[hana-flv-player video='/source_video.flv' /]</code>
    6 Version: 2.9.2
     6Version: 2.9.3
    77Author: HanaDaddy
    88Author URI: http://neox.net
     
    1616
    1717    var $plugin_folder ='hana-flv-player';
    18     var $version="2.9.2";
     18    var $version="2.9.3";
    1919    var $user_attr ;
    2020    var $update_result='';
     
    8383        add_filter('wp_head',array(&$this,'print_head_javascript'));
    8484        add_filter('the_content', array(&$this,'hana_flv_return') , 1);
    85 
     85        add_filter('widget_text', array(&$this,'hana_flv_return') );
     86       
    8687        //remove_filter('get_the_excerpt', 'wp_trim_excerpt');
    8788        //add_filter('get_the_excerpt', array(&$this,'hana_flv_return_exerpt'));
     
    184185        reset($flv_attr);
    185186        while(list($key,$value) = each($flv_attr)){
    186             if ($key != 'video' && $key != 'clickurl' && $key !='splashimage' && $key != 'more_2' && $key != 'more_3' && $key !='more_4')
     187            if ($key != 'video' && $key != 'clickurl' && $key !='splashimage' && $key != 'more_2' && $key != 'more_3' && $key !='more_4' && $key != 'more_5' )
    187188                $flv_attr[$key] = strtolower($value);
    188189        }
     
    302303                $onclicktarget="&amp;onclicktarget=".$flv_attr['clicktarget'];                             
    303304            }
    304            
    305             $default_controls="&amp;showstop=1&amp;showvolume=1&amp;showtime=1&amp;showfullscreen=1&amp;srt=1";
     305
     306            //20120606 disable subtitles SRT (srt=1) causing some issues
     307            $default_controls="&amp;showstop=1&amp;showvolume=1&amp;showtime=1&amp;showfullscreen=1";
    306308           
    307309            if ($flv_attr['more_3'] != "" ){
     
    509511                if (typeof jQuery == 'undefined') { document.write('<script type=\"text/javascript\" src=\"".$this->plugin_url."/".$this->player_base[$player]."/build/jquery.js\"><\/script>'); } 
    510512                </script>
    511                 <style>.mejs-inner img { max-width:100%; max-height:100%; margin:0 ; padding:0 }</style>
     513                <style>.mejs-inner img { max-width:100%; max-height:100%; margin:0 ; padding:0 }
     514                .mejs-overlay-button, .mejs-overlay-loading  {display:none;}</style>
    512515                <script type='text/javascript' src='".$this->plugin_url."/".$this->player_base[$player]."/build/mediaelement-and-player.min.js'></script>
    513516                <link rel='stylesheet' href='".$this->plugin_url."/".$this->player_base[$player]."/build/mediaelementplayer.mod.css' />
  • hana-flv-player/trunk/readme.txt

    r553661 r555191  
    55Requires at least: 2.0
    66Tested up to: 3.3.2
    7 Stable tag: 2.9.2
     7Stable tag: 2.9.3
    88
    99Easily embed videos(Flash & HTML5) in your WordPress featuring Flowplayer(version 2 and 3), OS FLV player, FLV Player Maxi, and MediaElement.js.
     
    140140== Change Log ==
    141141
     142= v2.9.3 (06/08/2012): =
     143
     144* [hana-flv-player] shortcode support in text widget.
     145* Fixed unwanted subtitle issue with FLV Player Maxi.
     146
    142147= v2.9.2 (06/05/2012): =
    143148
    144 * Updated MediaElement.js player with the latest version(2.9.1)
     149* Updated MediaElement.js player with the latest v2.9.1
    145150* Since MediaElement.js requires jQuery library, I added mandatory jQuery library calling routine in the last version. However some error were reported due to this, I updated to load jQuery dynamically only when jQuery is not loaded previously and MediaElement.js player is used.
    146151
Note: See TracChangeset for help on using the changeset viewer.