Is WAV needed for html5 audio fully cross-browser? -
an audio web cross-browser needs different formats work on browsers. commonly see people use mp4
, ogg
. want sure. therefore added webm
, wav
. needed? wav files heavy. question should thought thinking performance responsive site.
this html example:
<audio controls="controls" data-music="1"> <source src="http://example.webm" type="audio/webm" /> <source src="http://example.mp4" type="audio/mpeg" /> <source src="http://example.ogg" type="audio/ogg" /> <source src="http://example.wav" type="audio/wav" /> </audio>
will downloaded , affect global performance?
additionally, order matter of type of formats?
Comments
Post a Comment