I have a little problem: I don't knwo how to run this jQuery plugin: http://plugins.jquery.com/project/sound
There's no demo available :(
I have a little problem: I don't knwo how to run this jQuery plugin: http://plugins.jquery.com/project/sound
There's no demo available :(
Try SoundManager 2, it's well documented, easy to use and doesn't even require jQuery.
Apparently the author thought this was documentation enough:
$("#sound").sound({swf: url});
$("#sound").load(url);
$("#sound").play();
$("#sound").pause();
$("#sound").stop();
$("#sound").volume(0-100);
Here's my interpretation: The element #sound
is where you audio controller will be. The SWF URL is where on the site you saved the .swf file found in the .zip download. load()
takes as an argument the URL of the sound file. play()
, pause()
, etc. should be self-explanatory. So call sound()
first, then load()
, then call play()
when the time is right.
Try creating your own live demo using such a method, and submit as a bug report on the jQuery site that the plugin demo is down. (There is a link to submit an issue regarding the plugin once you log in.) Perhaps the demo URL will be changed to yours.