update extras_preview_media extension

+ Add missing media formats
This commit is contained in:
AlekPet
2025-09-20 17:44:23 +03:00
parent 223f2a8fc7
commit bb9085b2b4
2 changed files with 18 additions and 3 deletions
+17 -2
View File
@@ -28,8 +28,23 @@ const NODES_TYPE_SRC = {
// Preview image, video and audio content loading function
const SUPPORTS_FORMAT = {
image: ["jpg", "jpeg", "bmp", "png", "gif", "tiff", "avif"],
video: ["mp4", "webm"],
image: [
"avif",
"gif",
"heif",
"ico",
"jpeg",
"jpg",
"png",
"pnm",
"ppm",
"svg",
"tiff",
"webp",
"xbm",
"xpm",
],
video: ["mp4", "webm", "ogv"],
audio: ["ogg", "wav", "mp3", "webm"],
};
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_custom_nodes_alekpet"
description = "Nodes: PoseNode, PainterNode, TranslateTextNode, TranslateCLIPTextEncodeNode, DeepTranslatorTextNode, DeepTranslatorCLIPTextEncodeNode, ArgosTranslateTextNode, ArgosTranslateCLIPTextEncodeNode, ChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode, ChatGLM4InstructNode, ChatGLM4InstructMediaNode, PreviewTextNode, HexToHueNode, ColorsCorrectNode, IDENode."
version = "1.0.86"
version = "1.0.87"
license = { file = "LICENSE" }
[project.urls]