preload static method
Warms up the decoder for each asset so the first play has no latency.
Implementation
static Future<void> preload(List<Object> sources) async {
if (sources.isEmpty) return;
for (final Object input in sources) {
final UMediaSource source = resolve(input);
final UMediaController controller = _acquire();
await controller.open(source);
await controller.pause();
}
}