• I’ve installed the WordPress Audio Player on my website (not a WP blog) and followed the guide from here: https://wpaudioplayer.com/installation

    I can get the audio to play fine but I want it to auto play when the page loads. It says on the FAQ page that to autostart I need to add this:

    [audio:https://www.domain.com/path/to/your_mp3_file.mp3|autostart=yes]

    But [audio:… isn’t in any of the code. All I have which refrences the .mp3 file is this code:

    <p id="audioplayer_1">Alternative content</p>
             <script type="text/javascript">AudioPlayer.embed("audioplayer_1", {soundFile: "https://www.domain.com/path/to/your_mp3_file.mp3" });
             </script>

    So I added |autostart=yes after .mp3 so it became {soundFile: "https://www.domain.com/path/to/your_mp3_file.mp3|autostart=yes" });

    But that didn’t make it auto play. Where do I add |autostart=yes ?

    Any help would be really appreciated.

    Thanks,

    Dan

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP Audio Player's autoplay not working?’ is closed to new replies.