Changeset 555191
- Timestamp:
- 06/09/2012 03:13:19 AM (14 years ago)
- Location:
- hana-flv-player/trunk
- Files:
-
- 2 edited
-
hana-flv-player.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hana-flv-player/trunk/hana-flv-player.php
r553661 r555191 4 4 Plugin URI: http://wpmarketing.org/plugins/hana-flv-player/ 5 5 Description: 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. 26 Version: 2.9.3 7 7 Author: HanaDaddy 8 8 Author URI: http://neox.net … … 16 16 17 17 var $plugin_folder ='hana-flv-player'; 18 var $version="2.9. 2";18 var $version="2.9.3"; 19 19 var $user_attr ; 20 20 var $update_result=''; … … 83 83 add_filter('wp_head',array(&$this,'print_head_javascript')); 84 84 add_filter('the_content', array(&$this,'hana_flv_return') , 1); 85 85 add_filter('widget_text', array(&$this,'hana_flv_return') ); 86 86 87 //remove_filter('get_the_excerpt', 'wp_trim_excerpt'); 87 88 //add_filter('get_the_excerpt', array(&$this,'hana_flv_return_exerpt')); … … 184 185 reset($flv_attr); 185 186 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' ) 187 188 $flv_attr[$key] = strtolower($value); 188 189 } … … 302 303 $onclicktarget="&onclicktarget=".$flv_attr['clicktarget']; 303 304 } 304 305 $default_controls="&showstop=1&showvolume=1&showtime=1&showfullscreen=1&srt=1"; 305 306 //20120606 disable subtitles SRT (srt=1) causing some issues 307 $default_controls="&showstop=1&showvolume=1&showtime=1&showfullscreen=1"; 306 308 307 309 if ($flv_attr['more_3'] != "" ){ … … 509 511 if (typeof jQuery == 'undefined') { document.write('<script type=\"text/javascript\" src=\"".$this->plugin_url."/".$this->player_base[$player]."/build/jquery.js\"><\/script>'); } 510 512 </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> 512 515 <script type='text/javascript' src='".$this->plugin_url."/".$this->player_base[$player]."/build/mediaelement-and-player.min.js'></script> 513 516 <link rel='stylesheet' href='".$this->plugin_url."/".$this->player_base[$player]."/build/mediaelementplayer.mod.css' /> -
hana-flv-player/trunk/readme.txt
r553661 r555191 5 5 Requires at least: 2.0 6 6 Tested up to: 3.3.2 7 Stable tag: 2.9. 27 Stable tag: 2.9.3 8 8 9 9 Easily embed videos(Flash & HTML5) in your WordPress featuring Flowplayer(version 2 and 3), OS FLV player, FLV Player Maxi, and MediaElement.js. … … 140 140 == Change Log == 141 141 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 142 147 = v2.9.2 (06/05/2012): = 143 148 144 * Updated MediaElement.js player with the latest v ersion(2.9.1)149 * Updated MediaElement.js player with the latest v2.9.1 145 150 * 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. 146 151
Note: See TracChangeset
for help on using the changeset viewer.