Okay
  Public Ticket #3016698
Autoplay when clicking through on a portfolio
Closed

Comments

  • MIKE SCOTT started the conversation

    Hi

    I'm wanting to play single tracks only, launched from a portfolio page, but I want the track(s) to autoplay. So; a user will visit the portfolio page, click on one of the images that subsequently launches its associated portfolio item page & hears the track straight away without having to press play. 

    Is this possible?

    I'm using shotrtcode with Player Pro. It is possible for me to change to Guttenberg Blocks if the solution can't be made with shortcode.

    Thanks

  •  1,103
    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

  • MIKE SCOTT replied

    Oh ok, that's a shame, but thanks for your quick response.