Hi RoR Folks, Have a MySQL database with a blob datytype with .wav files loaded into them. Would like to have a button on a form that toggles between play and pause when clicked and will play the .wav file. Any suggestions on the best way to implement this? Thanks! -- Posted via http://www.ruby-forum.com/.
> Have a MySQL database with a blob datytype with .wav files loaded into > them. Would like to have a button on a form that toggles between play > and pause when clicked and will play the .wav file. > > Any suggestions on the best way to implement this?http://ajaxian.com/archives/jssoundkit-super-easy-sound-api
I believe from the server, you can just use sendfile. This Flash player should load in the full file but only pause when the user wants, like how YouTube works. http://www.1pixelout.net/code/audio-player-wordpress-plugin/ http://www.bloglines.com/about/news You''ll need to see if it can do wav in addition to mp3. - dan -- Dan Kohn <mailto:dan@dankohn.com> <http://www.dankohn.com/> <tel:+1-415-233-1000> On Jul 24, 2006, at 5:08 PM, jim dandy wrote:> Hi RoR Folks, > > Have a MySQL database with a blob datytype with .wav files loaded into > them. Would like to have a button on a form that toggles between play > and pause when clicked and will play the .wav file. > > Any suggestions on the best way to implement this? > > Thanks! > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
YouTube uses flash as well.
Thanks for the excellent suggestions. I''m still not clear how to have the source of a .wav file a blob column in a MySQL database table. Any ideas? Thanks Again for the help. Dan Webb wrote:>> Have a MySQL database with a blob datytype with .wav files loaded into >> them. Would like to have a button on a form that toggles between play >> and pause when clicked and will play the .wav file. >> >> Any suggestions on the best way to implement this? > > http://ajaxian.com/archives/jssoundkit-super-easy-sound-api-- Posted via http://www.ruby-forum.com/.