samedi 21 septembre 2019

Resource interpreted as Document but transferred with MIME type audio/mpeg error in Chrome console preventing sounds from playing

I'm creating a dumb fun little website that plays a random meme sound when a button is clicked. I was getting mixed content errors so I changed all my links to https. However, now when I click the button that should make the sounds play, the javascript file is loaded but the sound won't play. In the console the error says: Resource interpreted as Document but transferred with MIME type audio/mpeg. The sounds don't play in Chrome but work fine in Firefox. How can I get the sounds to play in Chrome?

Here's the website so you can test it yourself: dankmemesoundboard.com




Aucun commentaire:

Enregistrer un commentaire