Okay
  Public Ticket #2347445
Autoplay function in audioplayer
Closed

Comments

  • Michele Boito started the conversation

    HI,

    before using or purchasing you plugin I'd interested to know if is it possible that the music track inserted in every page (using ELEMENTOR in my case) may start to be listened when the page is loaded, that is, if among the options, autostart is provided.

    Thanks.

  •  1,114
    Max replied

    Hi,

    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

    You can read more about the Chrome browser policy here: https://www.theoplayer.com/blog/chrome-autoplay-policy-what-you-need-to-know

    Thanks,


    Max from the Sonaar.io Crew