My audio files not supported. Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

My audio files not supported. Why?

I made it public with name "Piano".

22nd Jan 2017, 10:45 AM
Aydin
2 Answers
+ 8
Yes i couldn't make code to work, so i wrote easier version😉 Thanks visph :P )
22nd Jan 2017, 5:18 PM
Aydin
+ 2
The name was changed to Music Player, isn't it? ^^ Your code is working, with this file: http://media.radio-libertaire.org/backup/03/lundi/lundi_2230/lundi_2230.mp3 From two things one: you don't copy correctly the url of the file(s) you want to play ( for a local file, you must prefix 'file' instead of 'http' ), or the format/codec isn't supported by your browser ( not same supported files format on all browsers, unfortunaly -- and the problem is bigger with video formats :P )
22nd Jan 2017, 1:53 PM
visph
visph - avatar