Implementation
@override
Size get size {
double width = _player.state.width?.toDouble() ??
_controller?.width?.toDouble() ??
480;
double height = _player.state.height?.toDouble() ??
_controller?.height?.toDouble() ??
360;
return Size(width, height);
}