WordPress.org

Support

Support » Plugins and Hacks » WPaudio MP3 Player » [Plugin: WPaudio MP3 Player] Tips that might help

[Plugin: WPaudio MP3 Player] Tips that might help

Viewing 3 replies - 1 through 3 (of 3 total)
  • nice post biberkopf. Do you know how to play all the songs inside a directory in random pick?

    I found another issue. I did make the change in both of the .js files, changing: {jQuery('a[href$=.mp3]').addClass('wpaudio');} to {jQuery('a[href$=".mp3"]').addClass('wpaudio');}

    But I noticed that my javascript files were both inactive and things were still not working. In the wpaudio.php file, there is a line that references the filepath, but it didn’t match up with the actual filepath. So change this:
    define( 'WPAUDIO_URL', WP_PLUGIN_URL . '/wpaudio-mp3-player' );
    to
    define( 'WPAUDIO_URL', WP_PLUGIN_URL . '/wpaudio-mp3-player.3.1' );

    Together, those two changes fixed it for me.

    biberkopf

    @biberkopf

    @oblax No, I’m affraid I can’t fix that. But for somebody who knows his or her php or javascript I believe it shouldn’t be to hard. If you name your files 1.mp3, 2.mp3, 3.mp3 […], n.mp3 all you have to do is to make a random logic that that pics a number between 1 and n, and insert it as the filename. But it’s not really a wpaudio question. So perhaps you can find som shortcode that will do it for you.

    @euaugustine Good point. I haven’t had the problem myself. I wonder why???

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPaudio MP3 Player] Tips that might help’ is closed to new replies.
Skip to toolbar