Audio auto play

hello. is there a way to make an audio tag auto play after condition is fulfilled? the code snipet below is not working for some reason
<audio autoplay={this.state.counter==0 && this.state.count==0}>

Autoplay may get blocked by the browser.

Browsers blocking random noises and videos the user did not request is one of the great leaps in technology in this age. It will go down in the history books.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.