dev
This commit is contained in:
parent
b2e380a7fa
commit
7e0eef67fd
@ -68,7 +68,7 @@ function addText(text) {
|
||||
contentDiv.appendChild(p);
|
||||
}
|
||||
|
||||
async function playAudio(audioUrl) {
|
||||
function playAudio(audioUrl) {
|
||||
fetch(audioUrl)
|
||||
.then(response => {
|
||||
if (!response.ok) {
|
||||
@ -165,7 +165,7 @@ async function widgetView() {
|
||||
addImage(widget.ImageUrl)
|
||||
}
|
||||
if (widget.AudioUrl) {
|
||||
await playAudio(widget.AudioUrl)
|
||||
playAudio(widget.AudioUrl)
|
||||
}
|
||||
playSpeech(donat.Text)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user