Forums

[resolved] [wp-swfobject] make it work with WP 2.6 (2 posts)

  1. baalinato
    Member
    Posted 1 year ago #

    you have to replace «swfobject.js» in the «wp-swfobject» folder by the one that is in the pack on google code. you can download at http://code.google.com/p/swfobject/.

    it worked perfectly for me.

  2. joserod
    Member
    Posted 1 year ago #

    I suppose that may appear problems due to the correct path of the decompressed folder. If you check the file: wp-swfobject.php on the line....392 more or less:
    ...
    function wpswfAddheader() {
    global $wpswf_version;
    echo "\n<!-- WP-SWFObject ".$wpswf_version." by unijimpe -->";
    echo "\n<script src=\"".get_settings('siteurl')."/wp-content/plugins/wp-swfobject.2.0/swfobject.js\" type=\"text/javascript\"></script>\n";
    }

    !!!!CHECK THE REAL PATH TO YOUR js FILE!!!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic