Update Script_Speech_recognition/videoplayer.js

This commit is contained in:
Mário Panenko 2024-11-04 21:16:17 +00:00
parent f4a13dc858
commit c3b9c5529e

View File

@ -55,7 +55,7 @@ function playVideoAtIndex(index) {
// Update the title with the current letter or word
const currentChar = videoSequence[index].split('/').pop().split('.')[0]; // Extract letter from the video path
document.getElementById('currentLetter').innerText = `${currentChar.toUpperCase()}`; // Update text
document.getElementById('currentLetter').innerText = `Po písmenách ${currentChar.toUpperCase()}`; // Update text
if (autoPlayEnabled) {
videoPlayer.onended = () => {