setLooping method

  1. @override
Future<void> setLooping(
  1. int textureId,
  2. bool looping
)
override

Sets the looping attribute of the video.

Implementation

@override
Future<void> setLooping(int textureId, bool looping) async {
  var controller =
      VideoPlayerWinPlatform.instance.getPlayerByTextureId(textureId);
  await controller?.setLooping(looping);
}