WordPress.org

Ready to get started?Download WordPress

Forums

Audio Player
[audio] did not work for me (2 posts)

  1. gisi
    Member
    Posted 2 years ago #

    I've placed [audio] into the header and it does not display the player only displays just that [audio}.Any ideas as how I could play audio in my header?
    thanks

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

  2. ftaveira
    Member
    Posted 1 year ago #

    audio-player.php. Line 684

    $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>";

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.