Okay
  Public Ticket #3542414
Link to sticky player
Closed

Comments

  • Tanguy started the conversation

    Hi,

    I would like to trigger my playlist from a link in my Elementor page to display Sticky Player. How to do that?


    Thanks you.

  •  695
    Alexandre replied

    Hi Tanguy, 

    Use thise shortcode and change the post id


    [sonaar_ts post_id="867"]Play Now[/sonaar_ts]

    Thanks,


    Alexandre from the Sonaar.io Crew

  • Tanguy replied

    Hi, thanks for your reply.

    In fact it works but I would like to keep my button style (as you can see in the screen of my last post), is that not possible to make it with a custom link or whatever?

    Thanks

  •  695
    Alexandre replied

    You can try this link


    javascript:IRON.sonaar.player.setPlayerAndPlay({ id:"867"})

    Thanks,


    Alexandre from the Sonaar.io Crew

  • Tanguy replied

    I tried to put your code in elementor button but it's not working

  •  695
    Alexandre replied

    Hi Tanguy, 

    If you are using the button element from elementor, be aware you can enable the option to lauch the sticky player.

    4930589116.png


    Thanks,


    Alexandre from the Sonaar.io Crew

  • Tanguy replied

    Ok thanks, just last question is it possible to disable this effect (see attachment)?

  •  695
    Alexandre replied

    Hi Tanguy,
    This option is not available but you can use thise custom css code:


    #sonaar-player .album-art img.hover {
    display: none !important;
    }

    Thanks,


    Alexandre from the Sonaar.io Crew