Plugin Directory

Changeset 984337


Ignore:
Timestamp:
09/08/2014 01:41:26 PM (12 years ago)
Author:
radioforge
Message:

player size and volume

Location:
radio-forge/trunk/html5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • radio-forge/trunk/html5/formplus.php

    r981573 r984337  
    301301       
    302302        <td>
    303         <input name="width" type="text" style="width:40px" maxlength="3" class="regular-text" value="<?php if($prms->width=="") echo "180"; else echo $prms->width; ?>" />&nbsp;px
     303        <input name="width" type="text" style="width:40px" maxlength="3" class="regular-text" value="<?php if($prms->width=="") echo "220"; else echo $prms->width; ?>" />&nbsp;px
    304304        </td>
    305305      </tr>
     
    311311       
    312312        <td>
    313         <input name="height" type="text" style="width:40px" maxlength="3" class="regular-text" value="<?php if($prms->height=="") echo "60"; else echo $prms->height; ?>" />&nbsp;px
     313        <input name="height" type="text" style="width:40px" maxlength="3" class="regular-text" value="<?php if($prms->height=="") echo "200"; else echo $prms->height; ?>" />&nbsp;px
    314314        </td>
    315315      </tr>
  • radio-forge/trunk/html5/widget.php

    r981092 r984337  
    3838else*/
    3939 $H = $prms->height;
    40 
     40 
     41if($prms->volume==0)
     42 $volume = 60;
     43else
     44 $volume = $prms->volume;
     45 
    4146?>
    4247<div align="center" id="radioforge<?php echo $id; ?>" style="background:url(<?php echo $prms->bgimage; ?>) no-repeat; width:<?php echo $prms->width; ?>px; height:<?php echo $H; ?>px;">
     
    5055'lang':'<?php echo $prms->lang; ?>',
    5156'codec':'<?php echo $prms->codec; ?>',
    52 'volume':<?php echo $prms->volume; ?>,
     57'volume':<?php echo $volume; ?>,
    5358'introurl':'<?php echo $prms->introurl; ?>',
    5459'fallback':'<?php echo $prms->introurl; ?>',
Note: See TracChangeset for help on using the changeset viewer.