1
How do I give autoplay to all (or almost all) mobile and desktop browsers?
<audio controls autoplay>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Apparently this code removed from here, doesn’t work. Does anyone know any way to do this using pure Javascript or HTML or any other technology?
I know a lot of people will say this is bad practice, but it’s for a web-radio.
I think for mobile phone there is no possibility to do autoplay because of certain policies, at least if it is used in Chrome
– I_like_trains
Really, I don’t think this has a solution...
– sistematico