Changeset 1106974
- Timestamp:
- 03/06/2015 04:19:06 PM (11 years ago)
- Location:
- wp-video-posts/trunk
- Files:
-
- 5 edited
-
classes/wpvp-core-class.php (modified) (3 diffs)
-
classes/wpvp-helper-class.php (modified) (1 diff)
-
options/wpvp-options.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wpvp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-video-posts/trunk/classes/wpvp-core-class.php
r1106397 r1106974 40 40 $ffmpeg_path = $options['ffmpeg_path']; 41 41 $mp4box_path = $options['mp4box_path']; 42 $debug_mode = ($options['debug_mode']=='yes') ? true : false;42 $debug_mode = $options['debug_mode']; 43 43 $allowed_ext = array('mp4','flv'); 44 44 … … 224 224 $helper = new WPVP_Helper(); 225 225 $options = $helper->wpvp_get_full_options(); 226 $debug_mode = ($options['debug_mode']=='yes') ? true : false;226 $debug_mode = $options['debug_mode']; 227 227 $width = $this->options['thumb_width']; 228 228 $height = $this->options['thumb_height']; … … 250 250 $helper = new WPVP_Helper(); 251 251 $options = $helper->wpvp_get_full_options(); 252 $debug_mode = ($options['debug_mode']=='yes') ? true : false; 253 $helper->wpvp_dump($this->options); 252 $debug_mode = $options['debug_mode']; 253 if($debug_mode) 254 $helper->wpvp_dump($this->options); 254 255 $width = $this->options['video_width']; 255 256 $height = $this->options['video_height']; -
wp-video-posts/trunk/classes/wpvp-helper-class.php
r1106397 r1106974 84 84 $ffmpeg_path = get_option('wpvp_ffmpeg_path',''); 85 85 $mp4box_path = get_option('wpvp_mp4box_path',''); 86 $debug_mode = get_option('wpvp_debug_mode');86 $debug_mode = (bool)get_option('wpvp_debug_mode',0); 87 87 $allowed_extensions = get_option('wpvp_allowed_extensions',$default_ext); 88 88 $encode_formats = get_option('wpvp_encode_format',false) ? get_option('wpvp_encode_format') : array(); -
wp-video-posts/trunk/options/wpvp-options.php
r1106397 r1106974 70 70 $wpvp_mp4box_path = get_option('wpvp_mp4box_path'); 71 71 $wpvp_main_loop_alter = get_option('wpvp_main_loop_alter','yes') ? true : false; 72 $wpvp_debug_mode = get_option('wpvp_debug_mode' ) ? 1 : 0;72 $wpvp_debug_mode = get_option('wpvp_debug_mode',0) ? 1 : 0; 73 73 $wpvp_player = get_option('wpvp_player','videojs') ? get_option('wpvp_player','videojs') : 'videojs'; 74 74 $wpvp_autoplay = get_option('wpvp_autoplay',false) ? get_option('wpvp_autoplay',false) : false; -
wp-video-posts/trunk/readme.txt
r1106397 r1106974 5 5 Requires at least: 3.2.2 6 6 Tested up to: 4.0 7 Stable tag: 3.4 7 Stable tag: 3.4.1 8 8 9 9 Upload videos to create custom video posts. With FFMPEG installed, it encodes … … 134 134 135 135 == Changelog == 136 = 3.4.1 = 137 - Fixed a bug on a debug option. 138 136 139 = 3.4 = 137 140 - Updated the way FFMPEG detection is handled: encoding test is performed only instead of a combined detection. -
wp-video-posts/trunk/wpvp.php
r1106397 r1106974 4 4 Plugin URI: http://cmstactics.com 5 5 Description: WP Video Posts creates a custom post for uploaded videos. You can upload videos of different formats (FLV, F4V, MP4, AVI, MOV, 3GP and WMV) and the plugin will convert it to MP4 and play it using Flowplayer. 6 Version: 3.4 6 Version: 3.4.1 7 7 Author: Alex Rayan, cmstactics 8 8 Author URI: http://cmstactics.com … … 24 24 * @var string WPVPMediaEncoder version 25 25 */ 26 public $version = '3.4 ';26 public $version = '3.4.1'; 27 27 public static function init(){ 28 28 $class = __CLASS__;
Note: See TracChangeset
for help on using the changeset viewer.