Here is what I've done so far, I've created a volume bar so you can increase and decrease the volume of the audio that should autoplay. But at the moment, to hear the audio you need to move the volume bar for it to start playing. What I want it to do is start playing at a certain volume which I've already added in so the user can increase or decrease the volume to which-one they feel better with. So at the moment it all works fine, I'm just not sure how to make it autoplay. Here is the code: $("#volume").slider({ min: 0, max: 100, value: 25,range: "min",animate: true, slide: function(event, ui) { setVolume((ui.value) / 100); } }); var myMedia = document.createElement('audio'); $('#player').append(myMedia); myMedia.id = "myMedia";playAudio('http://atlascorporation.info/introduction', 0);function playAudio(fileName, myVolume) { var mediaExt = (myMedia.canPlayType('audio/mp3')) ? '.mp3' : (myMedia.canPlayType('audio/ogg')) ? '.ogg' : ''; if (mediaExt) { myMedia.src = fileName + mediaExt; myMedia.setAttribute('loop', 'loop'); setVolume(myVolume); myMedia.play(); }}function setVolume(myVolume) { var myMedia = document.getElementById('myMedia'); myMedia.volume = myVolume;}You can go to this url to see what I'm on about: http://atlascorporation.info/ Anyone know what I would need to add to make it autoplay, if you need more information please ask. Thanks.