function createAudio(wav_uri) { $("#jplayer").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { wav: wav_uri }).jPlayer("play"); }, ended: function (event) { $(this).jPlayer("play"); }, swfPath: "", supplied: "wav" }); $("#jplayer").after($("

In-browser audio is running.

")); }