Update Script_Speech_recognition/stranka.html
This commit is contained in:
parent
c3b9c5529e
commit
f5fefe3686
@ -13,33 +13,36 @@
|
|||||||
<!-- Theme toggle icon button -->
|
<!-- Theme toggle icon button -->
|
||||||
<button id="themeToggleBtn" title="Switch Theme">🌞</button>
|
<button id="themeToggleBtn" title="Switch Theme">🌞</button>
|
||||||
|
|
||||||
<h1>Jednoduchý Prekladač s Rozpoznávaním Reči</h1>
|
<h1>Prekladač slovenčiny do slovenského posunkového jazyka</h1>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<!-- Textové pole na zadanie textu -->
|
<!-- Textové pole na zadanie textu -->
|
||||||
<textarea id="inputText" placeholder="Enter text"></textarea>
|
<div class="textarea-container">
|
||||||
|
<!-- Tlačidlá pre preklad -->
|
||||||
<!-- Pole pre preklad -->
|
<div class="translation-buttons">
|
||||||
|
<button id="translateWordsBtn" class="active">Preložiť po slovách</button>
|
||||||
|
<button id="translateLettersBtn">Preložiť po písmenách</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<textarea id="inputText" placeholder="Enter text"></textarea>
|
||||||
|
<button id="startBtn">🎤</button>
|
||||||
|
<button id="translateBtn">Prelož</button>
|
||||||
|
<div id="timerDisplay"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Video na preklad -->
|
||||||
<div class="video">
|
<div class="video">
|
||||||
<h2 id="currentLetter" style="text-align: center;"></h2> <!-- Current letter heading -->
|
<h2 id="currentLetter" style="text-align: center;"></h2>
|
||||||
<video id="translationVideo" controls style="border-radius: 4px;">
|
<video id="translationVideo" controls style="border-radius: 4px;">
|
||||||
<source src="" type="video/mp4">
|
<source src="" type="video/mp4">
|
||||||
Your browser does not support the video tag.
|
Your browser does not support the video tag.
|
||||||
</video>
|
</video>
|
||||||
<button id="prevBtn" style="position: absolute; top: 50%; left: -40px; transform: translateY(-50%); font-size: 24px; background-color: #4285f4; color: white; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer;">←</button>
|
<button id="prevBtn">←</button>
|
||||||
<button id="nextBtn" style="position: absolute; top: 50%; right: -40px; transform: translateY(-50%); font-size: 24px; background-color: #4285f4; color: white; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer;">→</button>
|
<button id="nextBtn">→</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Tlačidlo pre mikrofón -->
|
|
||||||
<br>
|
|
||||||
<button id="startBtn">🎤</button>
|
|
||||||
<div id="timerDisplay"></div>
|
|
||||||
<p id="statusText"></p>
|
<p id="statusText"></p>
|
||||||
|
|
||||||
<button id="translateWordsBtn">Preložiť po slovách</button>
|
|
||||||
<button id="translateLettersBtn">Preložiť po písmenách</button>
|
|
||||||
|
|
||||||
<!-- Pripojenie skriptov -->
|
<!-- Pripojenie skriptov -->
|
||||||
<script src="kontrola_api.js"></script>
|
<script src="kontrola_api.js"></script>
|
||||||
@ -47,4 +50,4 @@
|
|||||||
<script src="videoplayer.js"></script>
|
<script src="videoplayer.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user