Open lcherone opened 5 years ago
In chrome im getting the following error, file is served though express (static route)
Resource interpreted as Document but transferred with MIME type audio/mpeg: "http://127.0.0.1:8080/assets/sounds/silence.mp3".
When you hit the file directly it will work, but not in an audio tag.
Are these files just headers with no data? And its basically seen by chrome as corrupt.
Geeze I just need to autoplay a bell in chrome via js without clicking lol im getting defeated by 3 lines of code lol
may have to override the header for that file to be the proper one so it'll play, dirty hack yet it might work :)
In chrome im getting the following error, file is served though express (static route)
Resource interpreted as Document but transferred with MIME type audio/mpeg: "http://127.0.0.1:8080/assets/sounds/silence.mp3".
When you hit the file directly it will work, but not in an audio tag.
Are these files just headers with no data? And its basically seen by chrome as corrupt.
Geeze I just need to autoplay a bell in chrome via js without clicking lol im getting defeated by 3 lines of code lol