setAutoPlay method
set autoplay
设置是否自动播放
Implementation
Future<void> setAutoPlay({bool? isAutoPlay}) async {
if (_isNeedDisposed) return;
await _initPlayer.future;
await _vodPlayerApi.setAutoPlay(BoolPlayerMsg()
..value = isAutoPlay ?? false
..playerId = _playerId);
}