mardi 3 février 2015

Run Audio on new tab when a link is clicked - HTML

I know that through below code audio will play ....



<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>


I want that if I click a link then a new window open and start playing audio ... Any idea how to do this?


P.S. Here is a way to do this. BUT I don't want to make any extra HTML page.


Aucun commentaire:

Enregistrer un commentaire