audio_html.html

<audio id="audio_id" autoplay loop preload> <source src="mp3file.mp3" type="audio/mpeg"> </audio> <!--player--> <div id="player"> <a onclick="document.getElementById('audio_id').play()">play</a> / <a onclick="document.getElementById('audio_id').pause()">pause</a> </div> <!--/player-->
Audio HTML5

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.