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

Videojs volume control are not working on IOS devices , is there any way we can limit the value to the lowest when played #9000

Open
oshyam opened this issue Mar 5, 2025 · 2 comments
Labels
needs: triage This issue needs to be reviewed

Comments

@oshyam
Copy link

oshyam commented Mar 5, 2025

Description

  • Issue: Volume control for Video.js is not functioning correctly on iOS devices.
  • Behavior: The volume cannot be set to the lowest value when playing a video.
  • Expected Behavior: The volume should be adjustable to the lowest level.
  • Affected Devices: iOS devices (iPhones, iPads).
  • Request: Investigate and provide a solution to ensure the volume can be set to the lowest level on iOS devices.

Reduced test case

https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&fluid=false&minified=false&sync-workers=false&liveui=true&llhls=true&url=https%3A%2F%2Fd2zihajmogu5jn.cloudfront.net%2Fbipbop-advanced%2Fbipbop_16x9_variant.m3u8&type=application%2Fx-mpegurl&keysystems=&buffer-water=false&exact-manifest-timings=false&pixel-diff-selector=false&network-info=true&dts-offset=false&override-native=true&object-fit=false&use-mms=true&preload=auto&mirror-source=true&forced-subtitles=false&native-text-tracks=false

Steps to reproduce

  1. Open the url in chrome / safari in iPhone
  2. check for volume
  3. there is no option to lower the limit / if slide to lowest that too does not work only mute/unmute work on ios

Errors

No response

What version of Video.js are you using?

8.10.0

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

Chrome 133.0.6943.142

What OS(es) and version(s) does this occur with?

Windows 10

@oshyam oshyam added the needs: triage This issue needs to be reviewed label Mar 5, 2025
Copy link

welcome bot commented Mar 5, 2025

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@gkatsev
Copy link
Member

gkatsev commented Mar 5, 2025

I believe it isn't possible to change the volume programmatically on ios

video.js/src/js/tech/html5.js

Lines 1100 to 1102 in 8842d37

* Check if the volume can be changed in this browser/device.
* Volume cannot be changed in a lot of mobile devices.
* Specifically, it can't be changed from 1 on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage This issue needs to be reviewed
Projects
None yet
Development

No branches or pull requests

2 participants