WordPress.org

Ready to get started?Download WordPress

Forums

WPaudio MP3 Player
[resolved] WPaudio JS quotation marks error in wp3.2 (17 posts)

  1. nicomoss
    Member
    Posted 3 years ago #

    In order to make it work you need to edit the file :
    wpaudio-mp3-player/sm2/soundmanager2-nodebug-jsmin.js

    Search for href$=.mp3 and replace by href$=".mp3"

  2. cfishkow
    Member
    Posted 3 years ago #

    Hi, thank you for the quick post after the update. I see no href$ in this file though, only in /wpaudio.min.js...tried that with no success.

    The only effect this plugin is currently having on my site is removing my existing [audio:url] tags. Nothing plays, nothing downloads, no formatting. I am using the default theme.

    Any ideas? I'm currently struggling to get this plugin to work on two sites. The official forum is down, so any and all help would be greatly appreciated.

  3. Ursula (aka WP Gal)
    Member
    Posted 3 years ago #

    That's the wrong file to edit - hence why you're not finding what you need. I found the answer here:

    http://wordpress.org/support/topic/no-mp3-play-button-just-a-link?replies=9

    Although, I combined the above answer with this one - I just did the following myself as I was having the same issue, and it seemed to resolve the issue for me:

    open the javascript file here:
    /wp-content/plugins/wpaudio-mp3-player/wpaudio.min.js

    Search for href$=.mp3 and replace by href$=".mp3"

    (ie. add the quotation marks before/after .mp3)

  4. djbambam
    Member
    Posted 3 years ago #

    I have this same problem. I added the quotation marks as described and it seems to put the play button back into place, but every time I press play it crashes my browser (Safari on mac).

  5. Ursula (aka WP Gal)
    Member
    Posted 3 years ago #

    I just tested my site using Safari (but on a Windows 7 machine), and it doesn't crash for me.

    Can you tell me if my site crashes for you on a Mac?

    Tathiana.com/music

  6. mserreze
    Member
    Posted 3 years ago #

    Thank you, Ursula. That solution worked for me.

  7. steadwell
    Member
    Posted 3 years ago #

    Nice work WP Gal, problem resolved in my case.

  8. cat_
    Member
    Posted 3 years ago #

    I was pretty happy when I found your post here ... unfortunately, it still doesn't work out for me.

    Could it be I made a mistake with the coding when I saved the edited file version in the text editor?

  9. Ursula (aka WP Gal)
    Member
    Posted 3 years ago #

    Thanks mserreze & steadwell! Glad I was able to help! :)

    cat_: It's possible... maybe you can try again?

    Otherwise, there's a new minimalistic player available:

    http://wordpress.org/extend/plugins/haiku-minimalist-audio-player/

    "A simple HTML5-based audio player that inserts a text link or graphical player for audio playback. Compatible with WP Audio Player style links, fully accessible and degrades gracefully, and includes Google Analytics tracking of audio plays. Based on jPlayer."

    This one looks so nice I'm considering swapping to it, especially since it's HTML5-based, and it's been updated more recently (and compatible with 3.2.1).

    Hope that helps, guys!

  10. JC10002
    Member
    Posted 3 years ago #

    When I try and edit that specific file:

    Editing wpaudio-mp3-player/wpaudio.min.js

    It says (inactive) beside it. All other files say (active) and the plugin is indeed activated.

    My specific issue is the common 'getting a link instead of player'.

    I did add quotes to the .mp3 but still no luck. Any advice?

    Thanks.

  11. theComplex
    Member
    Posted 2 years ago #

    Ursula, thank you! This worked for me!

  12. Ursula (aka WP Gal)
    Member
    Posted 2 years ago #

    No problem - glad it worked for you! It hasn't worked for some, thank you to those who have posted other solutions that have worked for them. Hopefully one of these solutions will work!

    JC, unfortunately, I don't have any other ideas... :(

  13. Cyp Luraghi
    Member
    Posted 2 years ago #

    Thanks a LOT : that thrick worked great on my blog, even in comments with a simple link (multisite 3.2.1) ;-)

    This audio player is the best, absolutely !

  14. Ben Huson
    Member
    Posted 2 years ago #

    Worked for me

  15. ionosphere
    Member
    Posted 2 years ago #

    Made that simple change to the javascript file "wpaudio.min.js"...
    Search for href$=.mp3 and replace by href$=".mp3"(ie. add the quotation marks before/after .mp3) and yup wow. It all came right back. Sometimes we take our content for granted and I wasn't even aware that it was just bouncing the mouse click.

    So - thanks very much for the info Ursula. All is well for now.

  16. noixdarec
    Member
    Posted 2 years ago #

    Works! Thank you WP Gal!

  17. yitwail
    Member
    Posted 2 years ago #

    It worked for me as well, but the fact that this plugin was last updated 3.0.5 and hasn't been updated to fix the problem described here, and is described as only "Compatible up to: 3.0.5" is strong incentive to go with something else.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic