create abstract method

Future<XVideoPlayerCreateResult> create({
  1. required String uri,
})

Allocate a native player instance bound to uri (file://... for local playback, or an http(s) URL for network streaming). Returns the handle and the Flutter texture id the player renders into.

Implementation

Future<XVideoPlayerCreateResult> create({required String uri});