Widget:SoundTest: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
var audioElement = document.createElement('audio'); | var audioElement = document.createElement('audio'); | ||
audioElement.setAttribute('src', 'http:// | audioElement.setAttribute('src', 'http://static.wikidoc.org/6/62/01_Apex,_Normal_S1_S2,_Supine,_Bell.mp3'); | ||
audioElement.setAttribute('autoplay', 'autoplay'); | audioElement.setAttribute('autoplay', 'autoplay'); | ||
//audioElement.load() | //audioElement.load() |