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

I can't control volume while using audio player on ios devices. #218

Open RoshanDasan opened 8 months ago

lhz516 commented 8 months ago

Please fill

Package version: React version: iOS version:

SanjayTheCoder commented 6 months ago

im using RHAP_UI for volume and im unable to scroll the volume in Macbook pro Ventura 13.3, react version 17, using "react-h5-audio-player": "^3.9.0", can u provide a solution for this

lhz516 commented 6 months ago

@SanjayTheCoder Thanks for providing the info. Will take a look later.

lhz516 commented 5 months ago

Actually, I realized controlling volume with JS on iOS browsers is not possible. User can only adjust volume through the device native volume buttons. Please hide the volume control UI on iOS device.

@SanjayTheCoder On Macbook, I can't reproduce that as well. I checked this page, and the volume control works fine. https://lhz516.github.io/react-h5-audio-player/?path=/story/layouts-advanced--custom-controls-section