Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pupunzi

    (@pupunzi)

    There’s no need to use shortcode for the player as it renders any link pointing to an MP3 file as player.
    Just place the link where you want the player to show.
    If you need to customize the single player you can add the player properties in the class attribute.
    For example:

    <a href="https://ccmixter.org/content/jaspertine/jaspertine_-_pling.mp3" class="{skin:'black', animate:true, width:'180', volume:0.5, autoplay:true, loop:false, showVolumeLevel:false, showTime:false, showRew:true, downloadable:false, downloadablesecurity:false, id3: false}">jaspertine &ndash; pling</a>

    Bye,
    Matteo

    Thread Starter Ben Miller

    (@bhengh)

    Thanks for the info. I am using another plugin (Sermon Browser) that can output a shortcode to call an audio player. You can have it use any shortcode you want, but currently the way the plugin works, it has to be a shortcode. I’ll have to work with the plugin author to see if we can get it to work with code like your example above.

    Another question I have: Since you don’t use shortcodes, mb.miniAudioPlayer takes over all links to .mp3 files on the entire website. What if I have a link to an .mp3 file that I don’t want to use mb.miniAudioPlayer on?

    Plugin Author pupunzi

    (@pupunzi)

    You can configure the “excluded” option (in the general plug in settings page) with a “className” you can use on the A TAG of the link you want to exclude.

    Bye,
    Matteo

    Thread Starter Ben Miller

    (@bhengh)

    Thank you very much for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘shortcode interface?’ is closed to new replies.