WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: ProPlayer] Too much spaces in JS generating... (2 posts)

  1. Michel - xiligroup dev
    Member
    Posted 4 years ago #

    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/

  2. isa.goksu
    Member
    Posted 4 years ago #

    @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 :D

    Best,
    Isa

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags