react-audio-player icon indicating copy to clipboard operation
react-audio-player copied to clipboard

how can i do the autoplay on mobile phone??

Open caixw0914 opened this issue 5 years ago • 2 comments

I’ve found the issue about not working on mobile, we can use “controls” to show the control panel, can i do the autoplay without clicking the ‘play’ button??

caixw0914 avatar Dec 19 '19 11:12 caixw0914

<ReactAudioPlayer ref={(element) => { this.rap = element; }} />

register a onclick do this.rap.audioEl.play() But it not work in a ontouch envet, anyone knows why???

caixw0914 avatar Dec 20 '19 01:12 caixw0914

is any one found solution for this problem ?

NareshVadlamani avatar Jun 27 '22 12:06 NareshVadlamani