• Resolved kkri

    (@kkri)


    Hi. Your plugin is so nice to use because small and simple. I need to use both:
    1)in a page where I put a list of mp3. Question: should it be a problem if I use it a lot of times in the same page?
    2)in a sidebar where adding one at a time. May I copy from the HTML of my page the shortcode and use it in my sidebar?
    Thank you.

    http://wordpress.org/extend/plugins/wp-miniaudioplayer/

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

    (@pupunzi)

    Hi,

        1)in a page where I put a list of mp3. Question: should it be a problem if I use it a lot of times in the same page?

        No, it’s not a problem as the player start loading the audio file only once you click on the play button.

        2)in a sidebar where adding one at a time. May I copy from the HTML of my page the shortcode and use it in my sidebar?

        Yes, you can copy or directly write the code wherever in the page and it will be rendered as a player; the only thing is to change the ID of the A tag you write.
        Here is an example of what you should write:
        <a id="mbmaplayer_1353529119760" class="{skin:'blue', width:150, volume:0.4, autoplay:false, showVolumeLevel:true, showTime:true, showRew:true, downloadable:false}" href="http://localhost:8888/wp-content/uploads/2012/10/13-Tarantella-Quadriglia-Cosi-C.mp3">13 Tarantella & Quadriglia Cosi C</a>

    Bye,
    Matteo

    Thread Starter kkri

    (@kkri)

    The name of the ID is my choice? Or where do I get it from?
    Intanto grazie, Matteo. Ciao

    Plugin Author pupunzi

    (@pupunzi)

    The ID can be whatever you want; it mast be unique in the page, thats all :-).
    Ciao,
    M

    Thread Starter kkri

    (@kkri)

    Hi Matteo.
    I tried to add your plugin to my blog but don’t work for me.I can’t see it browsing the page, nothing is visible, nor the text link and the player. It seems that I’m having all the problems of the previous versions: the toolbar button get active only if the cursor is on a .mp3 link, I can’t see the “don’t render” check box in the editor, and at last the problem is that the player is not visible in the browser… Seems the editor don’t work as it should.I tried editing and viewing with 3 browsers: IE 9, FF 17 and Chrome 23.See my page http://www.angiolettochecucina.it/audioricette.html
    Ideas? It’s so urgent for me and I do want to use you plugin. 🙁 Thanks

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    You are embedding a really old version of jQuery on your site (1.3.2); If you have the latest WP installation it should serve the 1.8 of jQuery; probably there’s one of the plugin you are using that overwrite the default WP jquery.js inclusion with the old one, breaking the mb.miniAudioPlayer.
    Try deactivating the other plugins and see if the problem persists.
    Bye,
    Matteo

    further question on that topic: Is there any out of the box playlist functionality embedded?#

    thanks for this great plugin and cheers,
    c–

    Plugin Author pupunzi

    (@pupunzi)

    The player API has a method to change the audio file on the fly; you can use it to make your playlist as follow:
    <span onclick="$('#[PLAYERID]').mb_miniPlayer_changeFile('http://www.miaowmusic.com/mp3/Miaow-04-Lismore.mp3',false,'Lismore (mp3)')">miaowmusic - Lismore</span>
    Where [PLAYERID] is the ID generated for the anchor element the player is referring to and that you can retrieve by inspecting the source code of the page.
    The method accepts as parameter:

    • the mp3 file url,
    • the ogg file url
    • the displayed name

    Bye,
    Matteo

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Playlist and sidebar widget’ is closed to new replies.