View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#358
Originally Posted by MohammadAG View Post
Something weird is happening now, youtube-dl and the C++ code both fail to parse the video page (or find it for that matter)
youtube-dl:
ERROR: unable to download video webpage: HTTP Error 404: Not Found
and the alert(QString) signal from your code.
yet qmltube still works fine...
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.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2011-05-25 at 20:21.