View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#353
The Python version of cuteTube uses Python's urllib to get the URL, but that's the only difference, and it shouldn't affect the playback.

I took a quick look at the source code, and the method used to load the video is the same as yours, so I can't see any reason why it shouldn't play. It might be worth connecting a slot to the mediaobject's tick(qint64) signal, and see if the current position of the video is changing.

Code:
connect(m_player->mediaObject(), SIGNAL(tick(qint64)), this, SLOT(checkPos(qint64)));


void MyPlayer::checkPos(qint64 time) {
qDebug() << time;
] }
__________________
'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
 

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