UI/UX: Adiciona campo opcional para colagem manual de transcrição no VideoMind

This commit is contained in:
2026-06-05 22:19:33 +00:00
parent 281005a8bc
commit 3781c848da
2395 changed files with 242184 additions and 20 deletions
+5 -1
View File
@@ -4800,6 +4800,9 @@ const initApp = () => {
if (btnGenerateVideoMind) {
btnGenerateVideoMind.addEventListener('click', async () => {
const url = videoMindUrlInput.value.trim();
const pastedTranscriptInput = document.getElementById('videoMindPastedTranscriptInput');
const pastedTranscript = pastedTranscriptInput ? pastedTranscriptInput.value.trim() : '';
if (!url) {
alert('Por favor, insira o link de um vídeo do YouTube.');
return;
@@ -4837,7 +4840,8 @@ const initApp = () => {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
url,
lines: selectedVideoMindLines
lines: selectedVideoMindLines,
pastedTranscript
})
});