The Following User Says Thank You to JohnLF For This Useful Post: | ||
|
2011-05-24
, 00:31
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#352
|
// m_player is m_player(new Phonon::VideoPlayer(Phonon::VideoCategory, this)) m_player->load(Phonon::MediaSource(url)); m_player->play();
The Following 3 Users Say Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-24
, 01:14
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#353
|
connect(m_player->mediaObject(), SIGNAL(tick(qint64)), this, SLOT(checkPos(qint64))); void MyPlayer::checkPos(qint64 time) {qDebug() << time;] }
The Following 2 Users Say Thank You to marxian For This Useful Post: | ||
|
2011-05-24
, 08:46
|
Posts: 26 |
Thanked: 1 time |
Joined on Jan 2010
|
#354
|
Hey guys, i'm very new to this whole extras-devel stuff, but managed to download the app (i only want it for places because the new mobile site redirects me to m.touch.faceboom). I can't get places to work and it certainly doesn't come up like this photo ^
I click on "Check in" and a box comes up with "nearby" and the "done" button, but no locations show up and I can't check into anything.
|
2011-05-24
, 09:00
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#355
|
The Following 2 Users Say Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-25
, 19:46
|
Posts: 7 |
Thanked: 0 times |
Joined on Jun 2010
@ Hull, England
|
#356
|
i had the same issue (see page 28 & 29 of this thread) ... i ran Sociality in x-term (go to terminal and type /usr/bin/sociality) and got a few error messages ("can't fetch news/places" etc)
logging out and in again did get the app working again ...
|
2011-05-25
, 19:55
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#357
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-25
, 20:18
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#358
|
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...
|
2011-05-25
, 20:58
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#359
|
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.
|
2011-05-26
, 01:52
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#360
|
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
QByteArray url = keyAndValue.first().replace("%2C", ",");
viewer.engine()->addPluginPath(QString("/opt/qtm12/plugins"));
export QT_PLUGIN_PATH=/opt/qtm12/plugins
The Following 6 Users Say Thank You to marxian For This Useful Post: | ||
Tags |
facebook, facebook client |
|
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk