Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   can ruby record sound and play it directly from webpage? (http://www.velocityreviews.com/forums/t826637-can-ruby-record-sound-and-play-it-directly-from-webpage.html)

NuitLongue 12-04-2005 07:29 AM

can ruby record sound and play it directly from webpage?
 
Can ruby record sound and play it directly from webpage?
I dont know how ruby can do it?
Any one can tell me ruby can do it?


Hampton 12-04-2005 01:27 PM

Re: can ruby record sound and play it directly from webpage?
 
No.

More correctly: depends what you mean. Ruby is just a programming
language. There is no current setup for Ruby to run like Java Applets
(AFAIK) and actually execute an application in the web browser, which
is fundamentally different than the way most webpages work. (With
javascript being the weirdo between the two worlds). That's the only
way a webpage is going to be able to "record sound". Otherwise,
webpages just show information and handle formatting. All A/V stuff
within a webbrowser is just a trick.

You'd need a Java Applet. But, if you *really* wanted it to be in Ruby,
you could perhaps compile from Ruby to Java and with a little salt, hot
sauce, and love turn it into an applet.

-hampton catlin.


James Britt 12-04-2005 02:54 PM

Re: can ruby record sound and play it directly from webpage?
 
Hampton wrote:
>...
>
> You'd need a Java Applet.


Or Flash. Same issues, though there are tools for using Ruby to create
Flash objects.


James

--

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools




All times are GMT. The time now is 04:52 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.