# Ruby multimedia player

**URL:** <https://www.ruby-forum.com/t/ruby-multimedia-player/124031>\
**Category:** Ruby\
**Created:** [December 23, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/ruby-multimedia-player/124031 "2007-12-23T20:05:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/71e660/32.png) [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Post date:** [December 23, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/ruby-multimedia-player/124031/1 "2007-12-23T20:05:10Z")

</div>

Hello,

I hope this is the right place to put this–if it’s not, could someone  
please tell me a better place. Thanks.

I’m new to ruby, but I really like it. I’m trying to make a multimedia  
program, and plan to use Phonon ([http://phonon.kde.org/](http://phonon.kde.org/)), but all the  
documentation I’ve found is written in C++, and I’ve been finding it  
hard to translate it into ruby.  
If someone could translate this  
([http://api.kde.org/4.0-api/kdelibs-apidocs/phonon/html/phonon\_tut1.html](http://api.kde.org/4.0-api/kdelibs-apidocs/phonon/html/phonon_tut1.html))  
sample media player into ruby, I think I could figure it out from there.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![timhunter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/71e660/32.png) [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Post date:** [December 24, 2007, 12:55pm UTC](https://www.ruby-forum.com/t/ruby-multimedia-player/124031/2 "2007-12-24T12:55:42Z")

</div>

On Dec 23, 7:05 pm, “Tim H.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m new to ruby, but I really like it. I’m trying to make a multimedia  
> program,

I don’t know how it’s done in KDE, but in wxRuby you can use the  
Wx::MediaCtrl class to play sound and video on Windows, OS X and  
Linux. A small sample program is here:

[http://wxruby.rubyforge.org/svn/trunk/wxruby2/samples/media/mediactrl.rb](http://wxruby.rubyforge.org/svn/trunk/wxruby2/samples/media/mediactrl.rb)

At the moment MediaCtrl is only in Subversion, so you’ll have to  
compile yourself. But there should be a wxRuby binary release with  
this feature included in the next couple of weeks.

alex
