'Play() keeps requesting user gesture for second audio even though I'm trying the first user gesture I used for first audio
Working on a boxing round timer with an intention of using two audio files.A bell to signal start and end and an alarm for 10second warning towards the end.The alarm just won't work keeps asking for user gesture even though I've used the same user gesture for the bell.Below is the code for the bell audio that worked
```
audio.muted=true
function play(){
audio.muted = false
audio.play()
}
$timer=setTimeout(play,1)
} let count=setTimeout(displayMessage,180000)
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
