getWidth method
Get the width of the currently playing video.
获得当前播放视频的宽度
Implementation
Future<int> getWidth() async {
if (_isNeedDisposed) return 0;
await _initPlayer.future;
IntMsg intMsg = await _vodPlayerApi.getWidth(PlayerMsg()..playerId = _playerId);
return intMsg.value ?? 0;
}