MediaTransportOverlay ResizeButton
I've overloaded the resize button for switching between a small size video of a video from a fullscreen view, and it works good ( even if i needed to add a second mediatransportoverlay for the fullscreen view, i could move dinamically the offsets of the original one but i couldn't change his width dinamically for going from small size to fullscreen size).
The only problem that i'm encountering now is that when i press the resize button the image does not change, from the ControlVideoTransportOverlayEnterViewportButtonImage to the ControlVideoTransportOverlayExitViewportButtonImage like it does in the youtube widget. I sincerely don't know how to do it, since i haven't found documentation on a function that i can call on the resize button to switch the image.
I've checked in the themes and the file is correct, but it doesn't switch when i press the button, is there a simple way to do it?
by
6 Replies