With .m4a file I am getting following in debugging console and audio is not played.
I don't quite understand why it happens. The file itself seems to be ok. For example, if I create dummy html page in src/, launch http server and load it in browser, then I can access the file and play it - by typing following in console:
This fixes https://github.com/samueljun/tomato-clock/issues/64 Tested with Ubuntu 18.04 and Firefox 68.0.2.
With .m4a file I am getting following in debugging console and audio is not played.
I don't quite understand why it happens. The file itself seems to be ok. For example, if I create dummy html page in
src/
, launch http server and load it in browser, then I can access the file and play it - by typing following in console:So, the issue happens only in extension and with this particular file (or file type?)
I tried to convert .m4a file to .wav and to .mp3 and extension worked with both. In this PR I use .mp3 file because of its smaller size.