• I’m trying to use the Audio Player plugin within a widget in my sidebar.

    I found the code below from the support website for the plugin, but even when I try inserting this into my widget it’s not working. I’m trying to insert this in a Text widget.

    <?php if (function_exists("insert_audio_player")) {
      insert_audio_player("[audio:http://www.domain.com/path/to/song.mp3]");
    } ?>

    Any help would be most appreciated.
    Thanks,
    Tyler

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amasango

    (@amasango)

    Still wondering if someone could help me with this. It should be pretty simple to accomplish. Could it be that this code needs to be added somewhere else and not directly to the sidebar widget itself?
    Thanks.

    I’m having a similar issue. I want to set up a PAGE with 1 or more players listed on the page for product testimonies.

    When I place the code from your above post into the TEXT (not Visual) part of the editor (for a page), the player AND the code display on the webpage. I have a similar problem in the “testimonials” section of WP, too.

    I found this player http://wordpress.org/extend/plugins/haiku-minimalist-audio-player/ that inserts a text link or graphical player for audio playback and installed it. (It may or may not be useful for you, you’ll have to try it out.)

    With the Haiku player I did have an error code come up in Firefox (which is probably a Firefox issue), however, when I viewed my webpage in Safari, its all perfect. So the Haiku player is something minimal that fits my purposes,is not complicated to set up, and should serve my purpose until I need something more complicated.

    I hope you might find use for the Haiku player. Good luck to you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Audio Player to Widget’ is closed to new replies.