prefetch method
Triggers background prefetching of the first bytes of a video url.
Implementation
Future<void> prefetch(String url, {required int bytes}) async {
try {
await VideoViewPlayerPlatform.instance.prefetch(url, bytes);
} catch (e) {
// Ignore prefetch errors in background
} finally {
_activePrefetches.remove(url);
}
}