View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#359
Originally Posted by marxian View Post
The getVideoUrl() method now takes the YouTube video id as it's only argument (previously it was the YouTube URL). Are you still using the URL?

Also, the gotVideoUrl() signal emits a QString, but I'm sure that MediaSource requires a QUrl, so I'm wondering if that is the reason that the Phonon player didn't work.
Nah, I noticed that.

Have a look at http://mediadownloader.cz.cc/
It can play videos in Phonon well, and I passed the URL to QMediaPlayer manually and it worked, no cookies or forbidden stuff.

The source code did get me lost though, too many functions are tied to other classes
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post: