Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2013-07-05 09:08:51
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
html5 audio element
using this code below:
<audio controls>
<source src="/nurmkana/file_download/4/nurmkana-haalitsus.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
only browser which starts to play is chrome 27. no firefox 22, opera 12.16. os is winxp sp3.
can you test here with your browser and let me know? its grey partridge who is singing
Offline
Re: html5 audio element
The audio
tag has good support but you need to provide an Ogg or WAV version for Opera 12 and Firefox (since they don’t support mpeg3), like so:
<audio controls>
<source src="http://philwareham.co.uk/audio/nokia_dead.mp3">
<source src="http://philwareham.co.uk/audio/nokia_dead.ogg">
</audio>
Offline
#3 2013-07-05 13:17:30
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: html5 audio element
thank’s phil
Offline
#4 2013-07-05 13:25:40
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: html5 audio element
now it should play mobile devices, isn’t it? my android 2.2 browser doesn’t anyway…
Last edited by Gallex (2013-07-05 13:26:12)
Offline
Re: html5 audio element
As stated in the supported browsers link I posted above, Android 2.2 doesn’t recognise the HTML5 audio tag. Android 2.3 was the first to support it.
Offline
#6 2013-12-04 11:41:28
- typspan
- New Member
- Registered: 2013-12-04
- Posts: 3
Re: html5 audio element
Firefox now admits mp3’s
Offline
Pages: 1