Update Script_Speech_recognition/videoplayer.js
This commit is contained in:
parent
f4a13dc858
commit
c3b9c5529e
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user