Support » Plugins and Hacks » [Resolved] swfObject looses path to file with permalinks
8 years, 9 months ago
Hi, i’m using swfObject in my header to output my swf, so that lightbox plugin can overlay it in FF and Safari3
i have a problem where the script cant find a path to file.
works on the .htaccess designated homepage, but those urls that are generated by the permalinks makes the script loose the swf file.
using custom permalink structure:
var so = new SWFObject("http://www.nomand.net/blog/wp-content/themes/nomand2/images/header2.swf", "logo", "800", "120", "8", "#7c7c7a");
so using a full link to swf file shouldnt behave this way, because the rest of the images work fine.
cant get my head around this. any clue?
actually never mind, i found the problem, it was in my <script> tag, the path to the js was relative rather then absolute.