ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

【Load video node】The video types supported by the ‘Load video’ node are incomplete.

Open AIGC101s opened this issue 3 weeks ago • 1 comments

Prerequisites

  • [x] I am running the latest version of ComfyUI
  • [x] I have searched existing issues to make sure this isn't a duplicate
  • [x] I have tested with all custom nodes disabled (see how)

What happened?

The Load video node can actually upload .mov files (and perhaps some other file types). However, when you click the 'upload button', in the popped - up folder, the files will be automatically filtered to only show .mp4, .m4a, and .webm files.

Image

Steps to Reproduce

Files will be automatically filtered to include all the file types supported by the Load Video Node, and the front - end can display them correctly, such as videos with transparent backgrounds.

How is this affecting you?

Feature doesn't work as expected

ComfyUI Frontend Version

0.3.71

Browser

Edge

Console Errors


Logs


Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

AIGC101s avatar Nov 26 '25 08:11 AIGC101s

Hi @AIGC101s! I'm Dosu and I’m helping the ComfyUI_frontend team.

The frontend file dialog for the 'Load video' node currently only allows selecting .webm and .mp4 files because the accepted types are hardcoded as video/webm,video/mp4 in the frontend code (see source). However, the backend and other parts of the frontend recognize a broader set of video formats, including .mov and .avi (see source). This mismatch is why .mov files are filtered out in the upload dialog, even though the node can process them if selected via "All files".

If you want the file dialog to show all supported video types (like .mov and .avi), the accepted types in the frontend need to be updated. The relevant code is in useImageUploadWidget.ts—expanding the ACCEPTED_VIDEO_TYPES constant to include additional MIME types (e.g., video/quicktime for .mov) would allow these files to appear in the dialog.

There are also ongoing feature requests to make file type filtering more flexible and to support more video formats (see discussion, see feature request).

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Open in Cursor Join Discord Share on X

dosubot[bot] avatar Nov 26 '25 08:11 dosubot[bot]