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?
I've no problem resizing the viewport, that works without problems on the samsung tv i'm testing, it's just that the resize button isn't changing style when i press it, and i don't think it's a framework issue since it's working on the youtube widget inside the TV
I'm actually doing that, and that is also not a problem, the only problem is that i'm not able to find how to change the visual display( basically the image) of the resize button when it is pressed, like it's happening on the youtube widget. I know how to add custom behavior to the buttons, but i can't find the right property for changing what i need, and i can't find anything in the documentation.