Results 1 to 2 of 2

Thread: Problem in phonon videoplayer

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    33
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem in phonon videoplayer

    If we play videoplayer more than 10 times (when we navigate from different pages), it gets stuck. We can hear the audio and have control over seek slider and volume slider. I have doubt that more instances of videoplayer are created .What we can do?


    Added after 1 3 minutes:


    we addded this to the code connect(videoPlayer, SIGNAL(finished()), videoPlayer, SLOT(deleteLater())); . But it shows visual run time error when the video is finished.
    Last edited by vinayaka; 22nd June 2011 at 07:59.

  2. #2
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Problem in phonon videoplayer

    HI,
    I think you did not properly close videoplayer before leaving page..
    whenever you move to next page ,first stop videoplayer
    videoPlayer->stop();
    videoPlayer->hide();

    I hope it will help you..

Similar Threads

  1. Phonon::VideoPlayer
    By dano_labrosse in forum Newbie
    Replies: 6
    Last Post: 1st February 2012, 06:33
  2. QGraphicsEffect on a Phonon::VideoPlayer
    By scary_jeff in forum Newbie
    Replies: 3
    Last Post: 20th January 2011, 01:12
  3. How to set a background in a Phonon VideoPlayer ?
    By slimIT in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2010, 21:54
  4. phonon VideoPlayer refresh
    By rbp in forum Qt Programming
    Replies: 6
    Last Post: 14th November 2008, 01:56
  5. phonon VideoPlayer seek
    By rbp in forum Qt Programming
    Replies: 4
    Last Post: 31st October 2008, 04:53

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.