Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • You may not get the $r[‘doc’] value because it expects an & before the doc=xyz in the shortcode

    There is another bug in the plugin. Edit the plugin and replace the following line:

    $content		= '<object style="margin:0px" width="'.$width.'" '.'height="'.$height.'"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc='.$r['doc'].'"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/"'.$player.'?doc="'.$r['doc'].'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" '.'height="'.$height.'"></embed></object>';

    with the following line:

    $content		= '<object style="margin:0px" width="'.$width.'" '.'height="'.$height.'"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc='.$r['doc'].'"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/'.$player.'?doc='.$r['doc'].'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" '.'height="'.$height.'"></embed></object>';

    There are two extra quotes in the code which cause the bug.

    There is a bug in the plugin. Edit the plugin and replace the following line:

    $content		= '<object style="margin:0px" width="'.$width.'" '.'height="'.$height.'"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc='.$r['doc'].'"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/"'.$player.'?doc="'.$r['doc'].'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" '.'height="'.$height.'"></embed></object>';

    with the following line:

    $content		= '<object style="margin:0px" width="'.$width.'" '.'height="'.$height.'"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc='.$r['doc'].'"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/'.$player.'?doc='.$r['doc'].'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="'.$width.'" '.'height="'.$height.'"></embed></object>';

    There are two extra quotes in the code which cause the bug.

Viewing 2 replies - 1 through 2 (of 2 total)