Category: HTML5

HTML5 audio

MP3 source file <audio src="/audio/straw bales.mp3" controls="controls" preload="metadata"></audio> This will show the audio and the controls but won’t autoplay or loop. It will preload the metadata only however some browsers may not take notice of this restriction. <audio src="/audio/straw bales.mp3" controls preload="metadata" autoplay loop></audio> This will add the autoplay and loop parameters to play the […]