vmaillot
Member
Posted 1 year ago #
File : wp-content/plugins/proplayer/pro-player.php
Line : 68
Replace :
$result .= '<div name="mediaspace" id="mediaspace"><div class="pro-player-container" width="'.$flashvars[Constants::$WIDTH_KEY].'px" height="'.$flashvars[Constants::$HEIGHT_KEY].'px"><div id="pro-player-'.$id.'"></div></div></div>'.$this->NEW_LINE;
With :
$result .= '<div name="mediaspace" id="mediaspace"><div class="pro-player-container" style="width:'.$flashvars[Constants::$WIDTH_KEY].'px; height:'.$flashvars[Constants::$HEIGHT_KEY].'px; margin:auto;"><div id="pro-player-'.$id.'"></div></div></div>'.$this->NEW_LINE;
ventrilqstman
Member
Posted 1 year ago #
Thanks for the info. I may have to try this becuase if I can't center this plugin is out.
I think the real question is why is there no option to center built in. I don't understand it when people take the time to design a great plugin and then overlook something as simple and essential as centering. Very frustrating.
ventrilqstman
Member
Posted 1 year ago #
Thanks again for this tip. Worked great. Hopefully the dev fixes this bug in the next update we so don't have to mod it every time.
scherer326
Member
Posted 1 year ago #