Hi,
I am using QMediaPlayer to stream a online video, and it would play when the app launch, but after the app launched, in left upper corner, it shows a message box"Connection Failed Access Denied", it shows again when I tried to use Phonon. Anything wrong?
Following is my code:
Phonon version :Code:QT += core gui network phonon webkit MOBILITY = multimedia TARGET.CAPABILITY = UserEnvironment NetworkServices
QMediaPlay version:Code:Phonon::VideoPlayer *player = new Phonon::VideoPlayer(Phonon::VideoCategory, ui->widget); player->play(QUrl("http://www.youtube.com/watch?v=eL71fXvCP6w&feature=rec-LGOUT-exp_fresh+div-1r-1-HM"));
Please give me a hand.....Thanks for advanceCode:playerlist = new QMediaPlaylist(this); player = new QMediaPlayer(this); playerlist->addMedia(QUrl("http://www.youtube.com/watch?v=eL71fXvCP6w&feature=rec-LGOUT-exp_fresh+div-1r-1-HM")); player->setPlaylist(playerlist); widget = new QVideoWidget(this); player->setVideoOutput(widget); widget->show(); player->play();



