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.
Editor: Text and Subtitles toolbar tools use line icons like the other tools
Bowen Xuea2178d65c9dc
diff --git a/web/editor.css b/web/editor.cssindex 9a055f0..ef692e3 100644--- a/web/editor.css+++ b/web/editor.css@@ -146,7 +146,6 @@.fv-ed-more-panel[data-up=true]{top:auto;bottom:calc(100% - 2px)}.fv-editor .fv-ed-toolbar .fv-ed-more-panel button:has(svg)>span{display:none}.fv-ed-more-panel button::after{content:attr(data-more-label)}-.fv-ed-more-panel .fv-ed-text-icon{width:18px;text-align:center;flex:none}/* A switch that is on shows it in its icon; the row tint stays for hover and focus. */.fv-editor .fv-ed-toolbar .fv-ed-more-panel button[aria-pressed=true]{color:var(--fv-ink);background:transparent}.fv-editor .fv-ed-toolbar .fv-ed-more-panel button[aria-pressed=true] svg{color:var(--fv-accent)}diff --git a/web/editor_text.css b/web/editor_text.cssindex 243f8bd..d183152 100644--- a/web/editor_text.css+++ b/web/editor_text.css@@ -22,7 +22,7 @@.fv-ed-track-row[data-hidden=true] .fv-ed-clip{opacity:.45}.fv-ed-track-row[data-locked=true] .fv-ed-clip{cursor:not-allowed}.fv-ed-track-row[data-locked=true]{background-image:repeating-linear-gradient(135deg,color-mix(in srgb,var(--fv-ink) 8%,transparent) 0 2px,transparent 2px 8px)}.fv-ed-clip[data-past=true]{-webkit-mask-image:linear-gradient(to right,#000 var(--fv-ed-past,0),rgb(0 0 0/.3) var(--fv-ed-past,0));mask-image:linear-gradient(to right,#000 var(--fv-ed-past,0),rgb(0 0 0/.3) var(--fv-ed-past,0))}-.fv-editor .fv-ed-text-buttons{gap:4px}.fv-editor .fv-ed-text-buttons button{display:inline-flex;gap:5px;padding:0 7px;height:28px}.fv-ed-text-icon{font-size:11px;font-weight:700;opacity:.7}+.fv-editor .fv-ed-text-buttons{gap:4px}.fv-editor .fv-ed-text-notice{color:var(--fv-warning);background:none;border:0;height:auto;max-width:260px;font-size:11px;white-space:normal;text-align:left;line-height:1.4}.fv-ed-text-menu{position:absolute;z-index:20;min-width:230px;padding:4px;background:var(--fv-card);border:1px solid var(--fv-border);border-radius:6px;box-shadow:0 6px 30px #0008}.fv-editor .fv-ed-text-menu button{display:flex;justify-content:space-between;width:100%;height:32px;padding:4px 8px;border:0;background:none;text-align:left}.fv-ed-text-menu kbd{color:var(--fv-muted);margin-left:18px;font:11px inherit}diff --git a/web/editor_text.js b/web/editor_text.jsindex b43dadd..04f8719 100644--- a/web/editor_text.js+++ b/web/editor_text.js@@ -27,7 +27,10 @@ export function createEditorText({element,state,t,actions,adjust,player,toolbar,// Icons only on the toolbar; the name lives in the label and hover.const textButton=button('',{onClick:()=>add('text')}), subtitleButton=button('',{onClick:()=>add('subtitle')});textButton.classList.add('fv-ed-add-text'); subtitleButton.classList.add('fv-ed-add-subtitle');- textButton.append(el('span','fv-ed-text-icon','T')); subtitleButton.append(el('span','fv-ed-text-icon','CC'));+ // The same 16 px line glyphs as the other toolbar tools.+ const glyph=d=>{const svg=document.createElementNS('http://www.w3.org/2000/svg','svg');svg.setAttribute('viewBox','0 0 16 16');svg.setAttribute('aria-hidden','true');svg.classList.add('fv-ed-glyph');const path=document.createElementNS(svg.namespaceURI,'path');path.setAttribute('d',d);svg.append(path);return svg;};+ textButton.classList.add('fv-ed-icon'); subtitleButton.classList.add('fv-ed-icon');+ textButton.append(glyph('M3 5V3.5h10V5M8 3.5v9M6 12.5h4')); subtitleButton.append(glyph('M4 3.5h8a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2zM4.5 7.5h3M9.5 7.5h2M4.5 10h2M8.5 10h3'));textButton.setAttribute('aria-label',t('Text','文字')); subtitleButton.setAttribute('aria-label',t('Subtitles','字幕'));textButton.title=t('Text T','文字 T'); subtitleButton.title=t('Subtitles','字幕');buttons.append(textButton,subtitleButton);