QGraphicsView stops video when it doesn't appears in the screen
Unsolved
General and Desktop
-
Hello!!
I am playing a video in a QGraphicsView with a QMediaPlayer and QGraphicsVideoItem. I have a button that shows and hides the QGraphicsView. When I play the videoItem the QGraphicsView is hidden. When I push that button and show the QGraphicsView, the video is not playing.
How can I fix it? I don't know why is happening that.
Thank you very much!