Seeking Help to Implement Autoplay Background Music in WordPress

  • Unknown's avatar

    Hello everyone,

    I’m currently facing a challenge with my WordPress website. I want to add a feature where background music starts playing automatically when a visitor loads the page. However, due to browser policies and restrictions, the music doesn’t play unless there’s some form of user interaction. This issue is causing errors in the console, and the autoplay functionality isn’t working as intended.

    I have tried several approaches, including using prebuilt plugins and even attempting to create a custom plugin, but none of these solutions have resolved the issue. I am looking for any guidance or suggestions on how I can successfully implement this functionality. The goal is to have the background music autoplay without any user interaction right from the page load.

    Any insights or advice on this matter would be greatly appreciated!

    Thank you in advance for your help.

  • Unknown's avatar

    We aren’t familiar with plugins; you better ask in the wordpress.org forums or take a look in their plugin repository.

    However it’s impossible to override browser settings, unless you know how to hijack people’s browser.

    Also mind most people hate music on a website, certainly if they can’t turn it off. People on a mobile connection hate music most as they loose MB’s for nothing.

  • The topic ‘Seeking Help to Implement Autoplay Background Music in WordPress’ is closed to new replies.