Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Skip the duration fill when the saved video has no duration

Bowen Xued6251e02b62f
diff --git a/web/studio.js b/web/studio.js
index a8e7442..047afe8 100644
--- a/web/studio.js
+++ b/web/studio.js
@@ -1395,8 +1395,8 @@ export function openStudio(node, {extendFrom = null} = {}) {
try {
if (!prompt.disabled) { set(node, 'text', saved.text); window.dispatchEvent(new CustomEvent('freevideo-reference-prompt', {detail: node.id})); }
if (!dimensionsLinked && !extension.source) setSize(saved.width, saved.height);
- if (!linked(node, 'seconds') && !extension.source) {
- seconds.value = String(saved.seconds ?? Math.floor(saved.frames / 24 * 1000) / 1000);
+ if (saved.seconds !== null && !linked(node, 'seconds') && !extension.source) {
+ seconds.value = String(saved.seconds);
seconds.dispatchEvent(new Event('input')); seconds.dispatchEvent(new Event('change'));
}
} finally { reuseApplying = false; }