setLoop method
Set whether to loop playback or not
设置是否循环播放
Implementation
Future<void> setLoop(bool loop) async {
if (_isNeedDisposed) return;
await _initPlayer.future;
await _vodPlayerApi.setLoop(BoolPlayerMsg()
..value = loop
..playerId = _playerId);
}