will this piece of code related to phonon works?
i tried this pice of code related to play a video file in Qt but it didn't work for me.
will this really work out or should we do any workaround?
if so , please let me know how can we do it.
Phonon::VideoPlayer *player = new Phonon::VideoPlayer(Phonon::VideoCategory);
//player->load("Automotive_Trailer.wmv");
// or
player->load(Phonon::MediaSource("Automotive_Trailer.wmv" ));
player->play();
player->show();
Re: will this piece of code related to phonon works?
If your backend for phonon (if you're using Linux it's either gstreamer of xine) supports this particular codec, it should work.