source:
py-tcpmultiplexer/htdocs/js/common.js@
317
Last change on this file since 317 was 315, checked in by , 13 years ago | |
---|---|
File size: 360 bytes |
Line | |
---|---|
1 | function createAudio(wav_uri) |
2 | { |
3 | $("#jplayer").jPlayer({ |
4 | ready: function () { |
5 | $(this).jPlayer("setMedia", { wav: wav_uri }).jPlayer("play"); |
6 | }, |
7 | ended: function (event) { |
8 | $(this).jPlayer("play"); |
9 | }, |
10 | swfPath: "", |
11 | supplied: "wav" |
12 | }); |
13 | $("#jplayer").after($("<p>In-browser audio is running.</p>")); |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.