Viewing 14 replies - 16 through 29 (of 29 total)
  • For people using the plugin-editor.php and can’t see line numbers, do a search (ctrl-f) for urlaudioplayer to find line 684.

    When you are done the line should look like:

    $form_fields["url"]["html"] .= "<button type='button' class='button urlaudioplayer audio-player-" . $post->ID . "' data-link-url='[audio:" . attribute_escape($file) . "]' title='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";

    Excellent! Hopefully the plugin developer will include this in an update soon. Just so everyone has the full solution. You need to change:

    $form_fields["url"]["html"] .= "<button type='button' class='button urlaudioplayer audio-player-" . $post->ID . "' value='[audio:" . attribute_escape($file) . "]' title='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";

    To this:

    $form_fields["url"]["html"] .= "<button type='button' class='button urlaudioplayer audio-player-" . $post->ID . "' data-link-url='[audio:" . attribute_escape($file) . "]' title='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";

    @mslocumm thanks a bunch! Worked like a champ! I figured the solution was a simnple php tweak but I had no idea what line to look at. Glad it’s working again. Hope it sticks after the next WP update.

    Thanks mslocum for the fix!

    This had been bothering me and I really appreciate the fix, makes my life easier. What seems a bigger problem for me is that the player has stopped showing up in firefox! That’s a really big problem.

    @mslocumm, you are a lifesaver! Thank you!

    Hello!

    Thank you for this post. We are also having trouble with the audio player plugin on WordPress 3.4 and have edited the .php code found on line 684, via @mslocum and @vfhwebdev. However, the player still does not show up on any posts. The plugin is activated yet it shows an empty space on the post.

    We would appreciate any support to get this resolved, thank you!

    VFHwebdev!
    Changing the code help to take care of why the URL code would disappear. Thanks!! However, now what’s happening is the player does not display now. Just the URL. That’s it. I’ve updated, etc, etc. Nothing. Anyone else running into the same problem?

    And now the code is edited as above, but it keeps saying “Buffering” and won’t play the audio. Now what?

    It looks to me as it might be an issue with Firefox now. After I made the suggested fix to the code, the player seems to work in both Safari and Chrome but in Firefox the pages keeps trying to load and the player never shows up at all.

    https://www.thedigitaltrekker.com/2012/08/depth-of-field-brian-smith/

    My player is also not showing in any posts, despite my changing the code on line 684. Any other advice?

    The line 684 trick worked for me! Thanks a bunch

    hi guys,

    i have a weirder problem with this plugin …

    I installed it on my localhost test wp … created the audio directory, populate the directory with mp3 and it works … without any tweaks ( changing the value to data-link-url )

    When i did the same thing on my server … doesnt work … at all … with or without changing the value to data-link-url on line 684.

    What about that guys … isnt this just wonderful ?

    Just a random thought…. I experienced this problem, for the first time today, and had never run into it (buffering forever, and no playback). I was using a free theme called Esplanade. I switched themes and it worked. I think someone near the top of this thread had mentioned a theme issue.

    Anyway, it’s obvious that there is some code issue with certain themes that prevent this from working (I’ve got a lot of WordPress sites and had never seen this before)….

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘[Plugin: Audio Player] not compatible with WordPress 3.4’ is closed to new replies.