WordPress.org

Ready to get started?Download WordPress

Forums

MP3-jPlayer
[resolved] MP3 Player inline (3 posts)

  1. energykick
    Member
    Posted 1 year ago #

    Wherever I put the MP3 player, it forces a line feed on either side. Is there a way I can place it inline with some text, like in the middle of a paragraph?

    thanks

    http://wordpress.org/extend/plugins/mp3-jplayer/

  2. energykick
    Member
    Posted 1 year ago #

    Ok I figured out a way I can do this but need help. I have tried using the title to get the player inline, now I was to pass the template code a variable but it won't work. I tried this:

    mp3j_put( '[mp3j track="$mp3title" title="$soundtext"]' )

    but it doesn't work.

    Anyway I can put a variable in the template code?

    thanks

  3. energykick
    Member
    Posted 1 year ago #

    Ok I got it. Had to do bracket the variables properly,

    mp3j_put( '[mp3j track="'.$mp3title.'" title="'.$soundtext.'" flip="y"]' );

    Awesome plugin!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.