fix: skip local videos for preview

This commit is contained in:
Prateek Sunal 2025-02-03 05:40:19 +05:30
parent b70de5cc67
commit 9f14d60b42

View File

@ -56,7 +56,7 @@ class _VideoWidgetState extends State<VideoWidget> {
final isPreviewVideoPlayable = final isPreviewVideoPlayable =
PreviewVideoStore.instance.isVideoStreamingEnabled && PreviewVideoStore.instance.isVideoStreamingEnabled &&
widget.file.isUploaded && widget.file.isUploaded &&
// widget.file.localID == null && widget.file.localID == null &&
(FileDataService.instance.previewIds (FileDataService.instance.previewIds
?.containsKey(widget.file.uploadedFileID!) ?? ?.containsKey(widget.file.uploadedFileID!) ??
false); false);