diff --git a/templates/TTS_Input_Proof_of_concept.html b/templates/TTS_Input_Proof_of_concept.html index 0cb5333..d3cbed2 100644 --- a/templates/TTS_Input_Proof_of_concept.html +++ b/templates/TTS_Input_Proof_of_concept.html @@ -293,6 +293,7 @@
@@ -501,6 +502,14 @@ }; } } + + function togglePausePlayback() { + if (audioElement.paused) { + audioElement.play(); + } else { + audioElement.pause(); + } + } function toggleThemeMode() { // Retrieve the value of the selected option for themeMode from the dropdown