WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Use within php or as a shortcode

[Resolved] Use within php or as a shortcode

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

    @pupunzi

    Hi,
    This component will render any link to .mp3 files as a player wherever the link is written.
    So, instead of a short code, you can simply create an anchor tag that links to the mp3 file. You can pass any property to the player via metadata in the “class” attribute:

    <a id="m1" class="audio {autoPlay:true, inLine:true}" href="audio.mp3">Airport Gate (Boarding)</a>

    Bye,
    M

    satorimethod
    Member

    @satorimethod

    Hi M,

    You audio player plugin is so amazing – we LOVE it 🙂 Thank you for creating it!!

    We’ve tried a ton of WP audio players – but for one reason or another they don’t work with the multitude of devices and browsers – yours has come the closest!

    Can we ask you a favor please? We are having a little trouble with just one thing.

    SCENARIO:
    We have several players installed on a page… and with this set up your player is working great for on all our devices – iPhone, Ipad, Android phone – also works great in Chrome and Safari on the Mac and PC… BUT we are having trouble getting more than one of the players at a time working in Firefox and Internet Explorer (on both MAC and PC)

    We’ve read your FAQs — we’re not having an issue with a flash plugin (as we can get one player to work fine on a page) – it only happens when there are 2 or more.

    Do you have a solution that we could try – we’d be REALLY grateful.

    Here are our examples to test in FF and IE if you would be so kind:

    http://satorimethodacademy.com/uncategorized/mb-audio-player-test-a/
    CONTROL TEST: (works fine in firefox)
    http://satorimethodacademy.com/uncategorized/mb-audio-player-test-b/

    Thank you so much!

    Tristan

    Plugin Author pupunzi
    Participant

    @pupunzi

    Hi Tristan,
    the two links you gave are pointing to a secured page I can’t access.
    Anyway the two browsers mentioned are both falling back to the flash player to render the mp3 file while the others are rendering the audio via the native HTML5 AUDIO tag.
    What is strange is that on my demo page (http://pupunzi.com/mb.components/mb.miniAudioPlayer/demo/demo.html) there are 5 players and they are working fine on all the browsers.
    Can you test this page and see if it works also for you?

    Bye,
    Matteo

    satorimethod
    Member

    @satorimethod

    Ops… sorry about that Matteo…

    Those pages are open now 🙂

    http://satorimethodacademy.com/uncategorized/mb-audio-player-test-a/

    Yes, all five players on your site are working great for us in Firefox.

    Strange.

    Thanks for the follow up!

    Tristan

    Plugin Author pupunzi
    Participant

    @pupunzi

    Hi,
    Both the players have the same ID: “mp_mbmaplayer_1369169101141”.
    I don’t know how you are including them but they should have different ID to work fine.

    Bye,
    Matteo

    satorimethod
    Member

    @satorimethod

    Thanks Matteo! That fixed it in the browsers 🙂

    I just made up a different ID… i’m assuming that was cool… as they are now working and I didn’t see how to manufacture a new ID?

    You’ve made a great player.

    Thank you for sharing it with everyone!

    Tristan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Use within php or as a shortcode’ is closed to new replies.