play method

Future<void> play({
  1. String uri = '',
  2. String path = '',
})

Play the media

uri Uri of the media to play path Path of the media file to play

Implementation

Future<void> play({String uri='',String path=''}) async {
  await _ensureInitialized();
  if(_isNeedDisposed) return;
  await _vlcApi.play(uri,path,_textureId);
}