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:

Code:
QT       += core gui network phonon webkit
MOBILITY = multimedia
TARGET.CAPABILITY = UserEnvironment NetworkServices
Phonon 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"));
QMediaPlay version:

Code:
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();
Please give me a hand.....Thanks for advance