Is there a way to auto play audio in React without using an onClick event?

后端 未结 0 1522
刺人心
刺人心 2020-11-30 06:05

I\'m getting this error when trying to play audio within componentDidMount. \'Uncaught (in promise) DOMException: play() failed because the user didn\'t interact with the do

相关标签:
回答
  • 消灭零回复
提交回复
热议问题