WordPress.org

Support

Support » Plugins and Hacks » [Plugin: ProPlayer] Too much spaces in JS generating…

[Plugin: ProPlayer] Too much spaces in JS generating…

  • Hello,
    The plugin generates code but don’t work – why ?
    See html source below… (annoying tags </p>….)
    And after searching it is because in your pro-player.php line #130 and after you have inserted empty lines… who generates troubles in wp content decoding processes. (see below after erasing annoying lines)… Now all is working… don’t forget to update your source..
    Congratulations for your job… hope soon a mix of proplayer and wordtube (with his medialibrary)

    Michel from http://dev.xiligroup.com

    stretching: 'fill',
    									repeat: 'false',
    									autostart: 'true'
    								};</p>
    <p>								var params = {
    									wmode: 'transparent',
    									allowfullscreen: 'true',
    									allowscriptaccess: 'always',
    									allownetworking: 'all'
    								};</p>
    <p>								var attributes = {
    									id: 'obj-pro-player-123-2',
    									name: 'obj-pro-player-123-2'
    								};</p>
    <p>								swfobject.embedSWF
    var flashvars = {
    									".$additionalOptions."
    									".$fileAttributes.",
    									enablejs: 'true',
    									javascriptid: '".$id."',
    									backcolor: '".get_option("PRO_PLAYER_BACKCOLOR")."',
    									frontcolor: '".get_option("PRO_PLAYER_FRONTCOLOR")."',
    									lightcolor: '".get_option("PRO_PLAYER_LIGHTCOLOR")."',
    									skin: '".get_option("PRO_PLAYER_SKIN_FILE")."',
    									stretching: '".get_option("PRO_PLAYER_STRETCHING")."',
    									repeat: '".$this->repeat."',
    									autostart: '".$this->autoStart."'
    								};
    								var params = {
    									wmode: 'transparent',
    									allowfullscreen: 'true',
    									allowscriptaccess: 'always',
    									allownetworking: 'all'
    								};
    								var attributes = {
    									id: 'obj-pro-player-".$id."',
    									name: 'obj-pro-player-".$id."'
    								};
    								swfobject.embedSWF(

    http://wordpress.org/extend/plugins/proplayer/

Viewing 1 replies (of 1 total)
  • isa.goksu
    Member

    @isagoksu

    @michel, 10x for the hint. However, I haven’t got any problem like this so far. You can check my blog http://isagoksu.com. I’m actively using plugin there and there is a video-tests page. You can check the page source.

    I seems like some kind of auto filtering problem, then again if you find a solution for yourself it’s good 😀

    Best,
    Isa

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: ProPlayer] Too much spaces in JS generating…’ is closed to new replies.