WordPress.org

Plugin Directory

Changeset 554430


Ignore:
Timestamp:
06/07/12 17:31:44 (23 months ago)
Author:
ntm
Message:

8.8.10.14 beta 7

Location:
podpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • podpress/trunk/js/podpress_admin.js

    r519114 r554430  
    646646    newMediaFileData['duration'] = duration; 
    647647    if( 0 >= Number(dimensionW) ) { 
    648         dimensionW = document.getElementById('podpress_mediadefault_dimensionW').value;//newMediaDefaults['dimensionW']; 
     648        //dimensionW = newMediaDefaults['dimensionW']; 
     649        dimensionW = document.getElementById('podpress_mediadefault_dimensionW').value; 
    649650    } 
    650651    if( 0 >= Number(dimensionH) ) { 
    651         dimensionH = document.getElementById('podpress_mediadefault_dimensionH').value; //newMediaDefaults['dimensionH']; 
     652        //dimensionH = newMediaDefaults['dimensionH']; 
     653        dimensionH = document.getElementById('podpress_mediadefault_dimensionH').value; 
    652654    } 
    653655    newMediaFileData['dimensionW'] = dimensionW; 
  • podpress/trunk/podpress.php

    r529614 r554430  
    11<?php 
    2 define('PODPRESS_VERSION', '8.8.10.14 beta 6'); 
     2define('PODPRESS_VERSION', '8.8.10.14 beta 7'); 
    33/* 
    44Info for WordPress: 
    55============================================================================== 
    66Plugin Name: podPress 
    7 Version: 8.8.10.14 beta 6 
     7Version: 8.8.10.14 beta 7 
    88Plugin URI: http://www.mightyseek.com/podpress/ 
    99Description: The podPress plugin gives you everything you need in one easy plugin to use WordPress for Podcasting. Set it up in <a href="admin.php?page=podpress/podpress_feed.php">'podPress'->Feed/iTunes Settings</a>. If this plugin works for you, send us a comment. 
     
    1111Author URI: http://www.mightyseek.com/ 
    1212Min WP Version: 2.2 
    13 Max WP Version: 3.3.1 
     13Max WP Version: 3.3.2 
    1414 
    1515podPress - Podcasting made easy for WordPress 
  • podpress/trunk/podpress_admin_class.php

    r519114 r554430  
    7979            } 
    8080 
    81             //echo '<script type="text/javascript" src="'.podPress_url().'js/podpress_admin_postedit.js"></script>'."\n"; 
     81 
     82            if (FALSE == isset($this->settings['videoDefaultPlayerSize_x'])) { 
     83                $this->settings['videoDefaultPlayerSize_x'] = 320; 
     84            } 
     85            if (FALSE == isset($this->settings['videoDefaultPlayerSize_y'])) { 
     86                $this->settings['videoDefaultPlayerSize_y'] = 240; 
     87            } 
     88            echo '<input type="hidden" id="podpress_mediadefault_dimensionW" value="'.$this->settings['videoDefaultPlayerSize_x'].'" />'."\n"; 
     89            echo '<input type="hidden" id="podpress_mediadefault_dimensionH" value="'.$this->settings['videoDefaultPlayerSize_y'].'" />'."\n"; 
     90             
    8291            echo '<script type="text/javascript">'."\n"; 
    8392            echo "var podPressMaxMediaFiles = ".$this->settings['maxMediaFiles'].";\n"; 
     
    94103            $newMediaDefaults['duration'] = ''; 
    95104            echo "newMediaDefaults['duration'] = '".$newMediaDefaults['duration']."';\n"; 
    96             if (FALSE == isset($this->settings['videoDefaultPlayerSize_x'])) { 
    97                 $this->settings['videoDefaultPlayerSize_x'] = 320; 
    98             } 
    99105            $newMediaDefaults['dimensionW'] = strval($this->settings['videoDefaultPlayerSize_x']); 
    100106            echo "newMediaDefaults['dimensionW'] = '".$newMediaDefaults['dimensionW']."';\n"; 
    101             if (FALSE == isset($this->settings['videoDefaultPlayerSize_y'])) { 
    102                 $this->settings['videoDefaultPlayerSize_y'] = 240; 
    103             } 
    104107            $newMediaDefaults['dimensionH'] = strval($this->settings['videoDefaultPlayerSize_y']); 
    105108            echo "newMediaDefaults['dimensionH'] = '".$newMediaDefaults['dimensionH']."';\n"; 
     
    187190            echo '</script>'."\n"; 
    188191 
    189             echo '<input type="hidden" id="podpress_mediadefault_dimensionW" value="'.$this->settings['videoDefaultPlayerSize_x'].'" />'."\n"; 
    190             echo '<input type="hidden" id="podpress_mediadefault_dimensionH" value="'.$this->settings['videoDefaultPlayerSize_y'].'" />'."\n"; 
    191192 
    192193            echo '<input type="hidden" id="podPressMedia_defaultpreviewImage" value="'.PODPRESS_URL.'/images/vpreview_center.png" />'."\n"; 
     
    670671                } 
    671672            } 
     673 
     674            if (FALSE == isset($this->settings['videoDefaultPlayerSize_x'])) { 
     675                $this->settings['videoDefaultPlayerSize_x'] = 320; 
     676            } 
     677            if (FALSE == isset($this->settings['videoDefaultPlayerSize_y'])) { 
     678                $this->settings['videoDefaultPlayerSize_y'] = 240; 
     679            } 
     680 
     681            echo '<input type="hidden" id="podpress_mediadefault_dimensionW" value="'.$this->settings['videoDefaultPlayerSize_x'].'" />'."\n"; 
     682            echo '<input type="hidden" id="podpress_mediadefault_dimensionH" value="'.$this->settings['videoDefaultPlayerSize_y'].'" />'."\n"; 
     683 
    672684            echo '<script type="text/javascript">'."\n"; 
    673685            echo "var podPressMaxMediaFiles = ".$this->settings['maxMediaFiles'].";\n"; 
     
    684696            $newMediaDefaults['duration'] = ''; 
    685697            echo "newMediaDefaults['duration'] = '".$newMediaDefaults['duration']."';\n"; 
    686             if (FALSE == isset($this->settings['videoDefaultPlayerSize_x'])) { 
    687                 $this->settings['videoDefaultPlayerSize_x'] = 320; 
    688             } 
    689698            $newMediaDefaults['dimensionW'] = strval($this->settings['videoDefaultPlayerSize_x']); 
    690699            echo "newMediaDefaults['dimensionW'] = '".$newMediaDefaults['dimensionW']."';\n"; 
    691             if (FALSE == isset($this->settings['videoDefaultPlayerSize_y'])) { 
    692                 $this->settings['videoDefaultPlayerSize_y'] = 240; 
    693             } 
    694700            $newMediaDefaults['dimensionH'] = strval($this->settings['videoDefaultPlayerSize_y']); 
    695701            echo "newMediaDefaults['dimensionH'] = '".$newMediaDefaults['dimensionH']."';\n"; 
     
    780786            echo '</script>'."\n"; 
    781787             
    782             echo '<input type="hidden" id="podpress_mediadefault_dimensionW" value="'.$this->settings['videoDefaultPlayerSize_x'].'" />'."\n"; 
    783             echo '<input type="hidden" id="podpress_mediadefault_dimensionH" value="'.$this->settings['videoDefaultPlayerSize_y'].'" />'."\n"; 
    784  
    785788            echo '<input type="hidden" id="podPressMedia_defaultpreviewImage" value="'.PODPRESS_URL.'/images/vpreview_center.png" />'."\n"; 
    786789            if ( defined('NONCE_KEY') AND is_string(constant('NONCE_KEY')) AND '' != trim(constant('NONCE_KEY')) ) { 
  • podpress/trunk/readme.txt

    r529614 r554430  
    44Donate link: http://www.manvswebapp.com/podpress/podpress-donors 
    55Requires at least: 2.2 
    6 Tested up to: 3.2.1 
     6Tested up to: 3.3.2 
    77Stable Tag: 8.8.10.13 
    88 
Note: See TracChangeset for help on using the changeset viewer.