Forums

permalinks messing me up (2 posts)

  1. tixrus
    Member
    Posted 4 years ago #

    I got a little swf file I put in a post. On preview mode it works fine
    because the url is mydomain.com/?p=61&preview=1 or something. So it finds it in the root dir of the blog. Once you publish, however, it becomes mydomain.com/2008/05/perma-link-to-all-get-out/
    and then the flash thing does not show any more. It is really hard to do these flash things unless they are in the same dir. The code is a satay like object only thing: `<div id="player" style=" margin-left:auto; margin-right:auto; margin-top:1em; width:100%; text-align:center; font-size:80%;">
    <object type="application/x-shockwave-flash" data="dewplayer-multi.swf?mp3=sinverguenza.mp3&autoplay=1" width="200" height="20">
    <param name="movie" value="dewplayer-multi.swf?mp3=sinverguenza.mp3&autoplay=1"/>
    </object>
    </div>`

    Any idea how to fix it?

  2. haochi
    Member
    Posted 4 years ago #

    Use absolute URL or add a <base> to your pages (not recommended).

Topic Closed

This topic has been closed to new replies.

About this Topic