create method
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
@override
Future<XVideoPlayerCreateResult> create({required String uri}) async {
createCalls.add(uri);
if (createError != null) throw createError!;
final handle = _nextHandle++;
_controllerFor(handle); // pre-warm
return XVideoPlayerCreateResult(
handle: handle,
textureId: textureIdSeed + handle,
);
}