Support » Plugin: ProPlayer » [Plugin: ProPlayer] Tips to center the video player

  • 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;

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

    thanks for the tip

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: ProPlayer] Tips to center the video player’ is closed to new replies.