Okay
  Public Ticket #3621769
How to Auto play on Sticky Player
Closed

Comments

  • Eduardo started the conversation

    I need the feature (sticky mp3 player) to auto-start playing a local mp3 when the home page loads. 


    I already read another blog where you post these:

    Auto-play audio when your page loads is now banned by most desktop and mobile browsers including Chrome and Safari. This is what we call a "Auto-Play Policy". To play audio in a web browser, the user has to interact with the page before audio can play. Interactions is something like clicking a menu, a button, scroll down the page, etc.

    The closest thing you can do is to automatically fire the sticky footer player when the page load and then, users will have to click play. To do it, edit your page and select your playlist in the Music dropdown. See screenshot: https://d.pr/i/ouq7Ay

    However the auto play option in the image https://d.pr/i/ouq7Ay is no longer there, it now says (Enable Shuffle), how can I make these song play when the user interact with the page?

    Attached files:  Screenshot 2024-04-04 at 5.21.52 p.m..png

  •  1,103
    Max replied

    This is not possible anymore. Browser don't allow auto play at all in all new browser versions.

    Thanks,


    Max from the Sonaar.io Crew

  • Eduardo replied

    I´m using another free plugin ( Compact Audio Player ), and the auto play function woroks perfectly on any browser and android devices, This means that it is still possible do you mean that you no longer have these feature?

  •  1,103
    Max replied

    Hi,


    on what page URL can I test the auto play of your Compact Audio Player ?

    Thanks,


    Max from the Sonaar.io Crew

  • Eduardo replied

    https://invitacionesdigitalesxvaños.com/danna-tonantzi-ramirez-demo/

    this in une of the URL's using the Auto play with the plugin Compact Audio Player, to use it I put this shortcode on the page:

    [sc_embed_player fileurl="https://xn--invitacionesdigitalesxvaos-4rc.com/wp-content/uploads/2024/03/Tercer-Cielo-No-Crezcas-Mas-Video-Oficial.mp3" autoplay=true]

    I will attach pictures to show where the shortcode is at the end (bottom) of the URL.

    Attached files:  Screenshot 2024-04-04 at 6.45.56 p.m..png
      Screenshot 2024-04-04 at 6.46.29 p.m..png

  •  1,103
    Max replied

    It does not work here. see js error: https://drops.sonaar.io/i/ObIaiw

    autoplay should be avoided because it will react differently from different browser and different users depending their browser setting and site settings.

    Thanks,


    Max from the Sonaar.io Crew