getVideo static method
Get video from storage or local
Implementation
static Future<Uint8List?> getVideo(String path,
{bool isLocal = false}) async {
if (isLocal) {
return getLocalVideo(path);
} else {
return await FireUploader().getObject(path);
}
}