• Hi!
    Ater updete to ver. 2.1 my Audio player show this:
    Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.
    But i’m use latest version of Adobe Flash Player!
    how i can fix this bug?

Viewing 15 replies - 16 through 30 (of 58 total)
  • @kristapley

    As far as I can tell, there are 2 problems with your site:

    First, the call to wp_head() is in the wrong place. Check the header.php file of your theme and make sure the following line of code is placed just before the closing HEAD tag

    <?php wp_head(); ?>
    </head>

    And the reason why the player cannot find the file is because another plugin (probably called podcasting) is conflicting with mine. You can’t have both on at the same time because the podcasting plugin includes another version of Audio Player which conflicts with mine.

    Martin

    @neilscott

    I tried running wp-minify alongside Audio Player and worked fine. Which version of WordPress are you using?

    Martin

    No, it has always worked fine before the update, so the problem is with your update as far as I can tell. But I’ll try adjusting the header file.

    Just chekced the header file and the code you indicate is there, before the closing head tag, so I’m not sure why you think it’s out of place?

    And I see by deactivating the podcasting plugin the audio player works, but that’s not exactly an option because I use that for an iTunes feed with the podPress plugin. Why does your update suddenly conflict with that plugin, and why when I revert back to an older version does it STILL conflict, when it never did in the past?

    @doryphores

    thank you for taking a look. Sure enough, that fixed it right away. Big thanks for the excellent support and great plug-in. Keep up the terrific work.

    @kristapley

    You’re absolutely right about the wp_head() call. I thought it was in the wrong place because the advertsising banner is in the HEAD section of your site which confuses the source view in Firefox. If you can move it, I recommend you place it in the body section as it could cause unexpected issues (I don’t think it is causing any at the moment).

    Now about Audio Player:

    I assume you were using version 1.2.3 before you upgraded. The Podcasting plugin includes version 2 of Audio Player. These 2 versions of Audio Player are very different and this means they can function alongside each other. However, now that you upgraded Audio Player to version 2, they are conflicting. The reason why the player cannot find the file is because Audio Player is encoding the mp3 file URL, but the Podcasting plugin hasn’t set the required option for decoding this URL. If you look at the page source, you will find two script tags with a line like this inside:

    AudioPlayer.setup("https://incontention.com/wp-content/plugins/audio-player/assets/player.swf?ver=20100104124906", {width:"290",animation:"yes",encode:"yes", ... });

    As you can see, the second overrides the first with no options apart from the width value.

    This means that any options you set in the Audio Player options panel are ignored.

    I recommend you disable URL encoding in Audio Player (Options panel > Encode mp3 URLs). This at least should fix the “File not found” problem. However, you may run into more problems in the future.

    In my opinion, the Podcasting plugin should be checking whether Audio Player is already installed and use it instead of its own bundled version.

    You could also downgrade to Audio Player 1.2.3 which is available here: https://www.ads-software.com/extend/plugins/audio-player/download/

    Hope this makes sense.

    Martin

    FYI the problem in the Spanish translation broke my blog badly. Fortunately it was easy to correct (the line about downloading adobe, etc.).

    @stormymondays

    Yes, I know about this error. It will be fixed in the next update. Sorry about that. By the way, what do you think of the Spanish translation for the Audio Player options panel? It was translated by the Launchpad community so I have no idea if it is accurate or not.

    Martin

    Hm, after downgrading to that version, nothing shows up when using the audio syntax. I’ll try each version to see if one clicks.

    Yeah, nothing is working here. Gonna have to abort using it altogether I guess, which sucks, since I’ve used it in a bunch of posts…

    Registered just to post that since the update the player does not show up at all. There’s just an empty rectangle. This isn’t a javascript error. If I disable javascript I see the usual “Adobe Flash Player (version 9 or above) is required … etc.” but once javascript is enabled, there’s just an empty space. Reverting to a previous version of the script does not fix the issue, mysteriously.

    @sotrix

    Can you post a link to an example page where this happens? I can usually fix it if I can see it.

    Martin

    I sent you an email with the link
    Thanks for your help!

Viewing 15 replies - 16 through 30 (of 58 total)
  • The topic ‘[Plugin: Audio Player] Problems after update’ is closed to new replies.