diff --git a/lib/domain/bloc/controller.dart b/lib/domain/bloc/controller.dart index df9f10dd..aae33ae1 100644 --- a/lib/domain/bloc/controller.dart +++ b/lib/domain/bloc/controller.dart @@ -484,6 +484,7 @@ class VideoEditorController extends ChangeNotifier { Future _generateCoverFile({int quality = 100}) async { return await VideoThumbnail.thumbnailFile( imageFormat: ImageFormat.JPEG, + thumbnailPath: (await getTemporaryDirectory()).path, video: file.path, timeMs: selectedCoverVal?.timeMs ?? startTrim.inMilliseconds, quality: quality,