onVideoSizeChanged

var onVideoSizeChanged: (width: Int, height: Int) -> Unit?(source)

Invoked with the current video's pixel dimensions (first frame and on change) so the host can size its container to the real aspect ratio — supporting both 16:9 and 9:16 (vertical) content.

Forwards to BunnyPlayerView.onVideoSizeChanged.