play method

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

Play the video

Implementation

@override
Future<void> play() async {
  if (_isInitialized) {
    // Your custom play logic here
    _isPlaying = true;
  }
}