views:

9

answers:

1

Here is my code:

<div id="div6" style="position: absolute; top: 700px; left: 100px;"> <audio controls="controls; loop:true"> <source src="../media/ChealseSmile.ogg" type="audio/ogg"/> <source src="song.mp3" type="audio/mpeg"/> Your browser does not support the audio element. </audio> </div>

What do i have to add to the audio code to make it loop or autostart?

As a bonus could someone also tell me how to make a playlist out of this code?

+1  A: 
<audio loop="loop" /> 
Aaron Saunders