Hide video in Qmediaplayer
-
wrote on 5 Dec 2014, 14:22 last edited by
How to hide video in Qmediaplayer and just play the audio
-
Hi,
AFAIK, QMediaPlayer doesn't have any GUI, you would have to set in on a QVideoWidget to get the video on screen.
-
wrote on 5 Dec 2014, 15:14 last edited by
ya i used Qvideowidget now i want that to hide the video for some time and meanwhile only audio will play for some time and after that again the video should appear on screen if it can be done with push button it will be great
Please help
Thanks -
wrote on 5 Dec 2014, 18:41 last edited by
What if you will use QVideoWidget::hide() and QVideoWidget::show().
-
wrote on 5 Dec 2014, 23:58 last edited by
ya but i need to hide the screen while it playing the video
when i use QVideoWidget::hide() it hides the QVideoWidget after i stop the video and play it again it then it hides QVideoWidget.
I want when i am playing the a video the QVideoWidget hides or goes black so that i cant see the video but audio show play. -
Can you show how you are doing it currently ?
-
wrote on 7 Dec 2014, 23:54 last edited by
its very big code i cant post it here
can u suggest me ideas plz
Thanks
1/7