• Resolved ian6

    (@ian6)


    Hi Chris,
    I’m grateful for the enjoyment your plugin gives me ??

    I’ve successfully attached another plugin, that plays audio (out of screen), on hover with Tippy.

    Now I’m trying to attach these two on an action-button, (e.g. on hover a/o click) but I don’t seem to succeed. Any idea how this could work?

    The audio works like this:
    [tippy title="rainbow" offsetx="-9999" header="off" htmlentities="true"][mini_player audio="https://…/rainbow.mp3" autoplay="false"]<audio autoplay="false"><source src="https://…/rainbow.ogg" type="audio/ogg"><source src="https://…/rainbow.mp3" type="audio/mpeg"><embed src="https://…/rainbow.mp3"></audio>[/tippy]

    and the button just:

    <div id="buyButtons-top">
    <a class="btn-gift" href="#?option=gift" target="_blank">DO THIS!</a><a class="btn-buy" href="#" target="_blank">DO THAT!</a>
    </div>

    I’m curious!

    Thanks a lot ??

    https://www.ads-software.com/plugins/tippy/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would be seriously interested in this as well! ian6, can you tell me which plugin you’re using to play the audio?

    Thread Starter ian6

    (@ian6)

    @taliwalt

    For playing audio I’m using one called “donut-audio”, based on soundmanager2. It’s not here on www.ads-software.com, I got it from the website of the builder.
    ( https://scottslab.com/wordpress-soundmanager2-audio-plugin )

    It falls back to Flash if needed. I’m using my own button (with the simple version).

    I think any variation of Soumdmanager2 would do, especially if it’s invisible one wouldn’t need to change anything.

    Plugin Author Chris Roberts

    (@columcille)

    So you want your button to trigger the tooltip popup? Interesting idea. ?? I’ve just added an attribute to Tippy, alttrigger, which can be used to set an alternate trigger link. In Tippy you would add something like alttrigger=”.trigger_audio” then your link would need the class trigger_audio – anything with that class will trigger the tooltip. It will respond to hover or click depending on which one you specify globally or per-tooltip.

    Look for this in Tippy 6.2.0 which I should release tonight.

    Thread Starter ian6

    (@ian6)

    Fantastic job, Chris!

    it works as a charm ??

    (v. 6.2.1)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘attach tippy with sound to button possible?’ is closed to new replies.