feat: painel passa a abrir diretamente na aba Scanner para iniciar
- painel passa a abrir diretamente na aba Scanner para iniciar a identificação de locutores. Resumo: - 2 arquivos alterados - 0 novos - 2 modificados - 0 removidos 2 files changed, 8 insertions(+), 4 deletions(-) Arquivos: - code/cep-plugin/index.html - code/cep-plugin/main.js
This commit is contained in:
@@ -22,10 +22,10 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<nav class="tab-bar" role="tablist" aria-label="Painel">
|
<nav class="tab-bar" role="tablist" aria-label="Painel">
|
||||||
<button class="tab-button active" id="tabBtnSilence" role="tab" aria-selected="true" aria-controls="tabSilence" onclick="switchTab('silence')" type="button">
|
<button class="tab-button" id="tabBtnSilence" role="tab" aria-selected="false" aria-controls="tabSilence" onclick="switchTab('silence')" type="button">
|
||||||
<span class="tab-icon" aria-hidden="true">✂</span>Editar vídeo
|
<span class="tab-icon" aria-hidden="true">✂</span>Editar vídeo
|
||||||
</button>
|
</button>
|
||||||
<button class="tab-button" id="tabBtnScanner" role="tab" aria-selected="false" aria-controls="tabScanner" onclick="switchTab('scanner')" type="button">
|
<button class="tab-button active" id="tabBtnScanner" role="tab" aria-selected="true" aria-controls="tabScanner" onclick="switchTab('scanner')" type="button">
|
||||||
<span class="tab-icon" aria-hidden="true">◉</span>Scanner
|
<span class="tab-icon" aria-hidden="true">◉</span>Scanner
|
||||||
</button>
|
</button>
|
||||||
<button class="tab-button" id="tabBtnRetakes" role="tab" aria-selected="false" aria-controls="tabRetakes" onclick="switchTab('retakes')" type="button">
|
<button class="tab-button" id="tabBtnRetakes" role="tab" aria-selected="false" aria-controls="tabRetakes" onclick="switchTab('retakes')" type="button">
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- ============================= EDITAR VÍDEO ============================= -->
|
<!-- ============================= EDITAR VÍDEO ============================= -->
|
||||||
<div class="tab-panel" id="tabSilence" role="tabpanel" aria-labelledby="tabBtnSilence">
|
<div class="tab-panel" id="tabSilence" role="tabpanel" aria-labelledby="tabBtnSilence" hidden>
|
||||||
|
|
||||||
<p class="tab-intro">A edição usa a análise já concluída pelo Scanner. Revise os dados, gere o plano JSON e aplique-o na timeline.</p>
|
<p class="tab-intro">A edição usa a análise já concluída pelo Scanner. Revise os dados, gere o plano JSON e aplique-o na timeline.</p>
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- ============================== SCANNER =============================== -->
|
<!-- ============================== SCANNER =============================== -->
|
||||||
<div class="tab-panel" id="tabScanner" role="tabpanel" aria-labelledby="tabBtnScanner" hidden>
|
<div class="tab-panel" id="tabScanner" role="tabpanel" aria-labelledby="tabBtnScanner">
|
||||||
<p class="tab-intro">Escolha o que será lido no arquivo original. O Scanner usa os tempos da timeline, mas não exporta frames pelo Premiere.</p>
|
<p class="tab-intro">Escolha o que será lido no arquivo original. O Scanner usa os tempos da timeline, mas não exporta frames pelo Premiere.</p>
|
||||||
<section class="card scanner-mode-card">
|
<section class="card scanner-mode-card">
|
||||||
<div class="card-head"><h2>Tipo de análise</h2><span class="card-kicker">Primeiro escolha o fluxo</span></div>
|
<div class="card-head"><h2>Tipo de análise</h2><span class="card-kicker">Primeiro escolha o fluxo</span></div>
|
||||||
|
|||||||
@@ -3630,6 +3630,10 @@ function downloadModel(model, btn, approxMB) {
|
|||||||
|
|
||||||
// ---- Init ----
|
// ---- Init ----
|
||||||
(function init() {
|
(function init() {
|
||||||
|
// A identificação de locutores pertence ao Scanner; abrir nele evita que o
|
||||||
|
// painel pareça travado na etapa antiga de edição de vídeo.
|
||||||
|
switchTab("scanner");
|
||||||
|
|
||||||
// Set the default temp dir in the input field
|
// Set the default temp dir in the input field
|
||||||
document.getElementById("tempDir").value = tempDir;
|
document.getElementById("tempDir").value = tempDir;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user