Support » Fixing WordPress » Audio Background

  • Hi, is there any way to use audio as a website background that can be played on all devices? I have tried lots of plugins but none of them worked properly.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    You can try audio tag in html without plugin!
    Sample code:

    <audio loop autoplay style="display:none">
    <source src="https://www.thepizzapusha.com/wp-content/uploads/2018/12/wiz-khalifa-stay-stoned-redbone-weedmix.mp3" type="audio/mpeg">
    </audio>

    Place the code in the right place (theme).
    Internet Explorer, Chrome, Firefox, Safari and Opera supports MP3 format with “audio/mpeg” MIME-type.

    Good luck.

    Are you sure you want to do that? It’s considered kind of a usability nightmare, since many times people are in a location where they definitely don’t want music suddenly starting to play (at work, in public, anywhere with music or audio *already* playing, etc.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Audio Background’ is closed to new replies.