Helper method to fetch the media
Future<Uint8List> fetchFile(String url) { return promiseToFuture(_fetchFile(url)); }