|
Project Information
Members
|
Update 2008: I've moved to jquery and soundmanager is a great replacement for sound.js or jquery.sound.jssound.js allows to play .wav/.mp3 files easily. Examplesshow.rjs page.play "alert.mp3" will generate: Sound.play("sounds/alert.mp3")show.rhtml / show.html.erb <%=link_to_function 'Press to Listen' do |page| page.play "alert.mp3" end %> Supported FilesTested with MP3 and WAV files. Requirements:
Extra:
Installationscript/plugin install http://js-sound.googlecode.com/svn/trunk/js-sound or piston init http://js-sound.googlecode.com/svn/trunk/js-sound vendor/plugins/js-sound Save you sound effects into public/sounds folder. AuthorMarcus Derencius - http://derenci.us - derencius gmail 2007-12 |