03-30-2014 07:34 PM
I'm trying to add in-app video play back (as an improvement over invoking the media player) but I can't figure out how to set the foreignWindowControl size.
The media player docs show that the videoDimensions member will return a QRect with the video's size once playback has began but instrumentation in the mediaStateChanged() slot show that the QRect height and width is zero in the Prepared and Started stated.
So, the questions are:
1. What's the best way to determining what size the foreignWindowControl should be and at what point is it best set to that size?
2. What's the deal with the videoDimensions member function?
Solved! Go to Solution.