mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #269] feat: ability to pause the audio #50679
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @anuraagdjain on GitHub (Dec 23, 2023).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/269
Is your feature request related to a problem? Please describe.
The speak icon doesn't have the ability to pause the speech, and if accidentally clicked on a long message, the user has to close the browser tab to fully terminate the speech.
Describe the solution you'd like
A clear and concise description of what you want to happen.
From the MDN docs, we could use
.speakingand.pause()methods towindow.speechSynthesis.speakingis truewindow.speechSynthesis.pause()function instead of.speak(message)in this function.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.