Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RoshanDasan opened this issue Nov 27, 2023 · 4 comments
Open

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

RoshanDasan opened this issue Nov 27, 2023 · 4 comments

Comments

@RoshanDasan
Copy link

No description provided.

@lhz516
Copy link
Owner

lhz516 commented Nov 28, 2023

Please fill

Package version:
React version:
iOS version:

@SanjayTheCoder
Copy link

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
Copy link
Owner

lhz516 commented Jan 28, 2024

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

@lhz516
Copy link
Owner

lhz516 commented Feb 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants