preDownloadVideos method

Future preDownloadVideos(
  1. List<String> urls
)

Implementation

Future preDownloadVideos(List<String> urls) async {
  for (var url in urls) {
    final filePath = await getFilePathAfterData(url);
    debugPrint("已下载视频到本地,视频地址为$filePath");
  }
}