Use an AspectRatioContainer as its parent with the correct aspect ratio set and enable VideoStreamPlayer.expand
AspectRatioContainer
VideoStreamPlayer.expand