[Kde-bindings] Video playing using qt-ruby bindings

Declan McGrath declan at divilment.com
Sun Aug 23 10:55:49 UTC 2009


Hi folks, what's the best way to play a video in Qt (version 4.5.0) using Ruby - QMovie or VideoPlayer.

I'd like to try VideoPlayer (http://doc.trolltech.com/4.4/phonon-videoplayer.html) but when I use 

  puts VideoPlayer.class

I get 'main.rb:6: uninitialized constant VideoPlayer (NameError)'

I've tried using Phonon::VideoPlayer and Qt:VideoPlayer to reference it but still no dice.

Regards,
Declan



More information about the Kde-bindings mailing list