Player audio in HTML5

Pentru cei care nu stiu, dar au nevoie de un player simplu fara sa se complice prea mult, in noul HTML5, puteti implementa foarte usor acest lucru prin urmatorul cod:

<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Silviu Stroe
I'm Silviu and I run Brainic, a mobile-focused software agency. I'm also a member of Nokia and Yahoo wall of fame. My interests are in low-code/no-code development and bleeding-edge technologies.

Leave a Reply

Your email address will not be published.