play method

  1. @override
Future<void> play(
  1. int textureId
)
override

Starts the video playback.

Implementation

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