lhz516 / react-h5-audio-player

React audio player component with UI. It provides time indicator on both desktop and mobile devices.
https://codepen.io/lhz516/pen/dyGpmgP
MIT License
587 stars 91 forks source link

Component is in autoplay all the time. #231

Closed AlanGreyjoy closed 1 month ago

AlanGreyjoy commented 1 month ago

Describe the bug When the component loads the url, it autoplays. Even with autoplay={false}

Environment Chrome Vite React.js "react-h5-audio-player": "^3.9.1"

AlanGreyjoy commented 1 month ago

This was the fix preload='none' autoPlayAfterSrcChange={false}