question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting Volume on Mobile Devices

See original GitHub issue

Wavesurfer.js version(s):

wavesurfer.js@3.3.3

Browser and operating system version(s):

IOS Safari

Code needed to reproduce the issue:

this.wavesurfer.setVolume(this.state.volume)

Use behaviour needed to reproduce the issue:

Hi, I am trying to set the volume of a player using state controlled by a slider that is an int between 0 & 1. It works fine on desktop browsers, but on iPhone and iPad changing the volume of the player does not change the output volume. Am I missing something?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
dagreatbrendinocommented, Oct 5, 2020

Cool cool. Thanks for the help. I’ll probably use that + css to make the volume slider hidden on mobile views

0reactions
dagreatbrendinocommented, Oct 12, 2020

As it turns out my use case requires me to use the MediaElement backend because I need the waveform drawn before the audio is fully loaded

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change volume, sound, & vibrate settings - Android Help
Turn your volume up or down · Press a volume button. · At the right, tap the Menu More . If you don't...
Read more >
Adjust the volume on iPhone - Apple Support
On iPhone, adjust the sound volume of media, alerts, and sound effects using the side buttons, Siri, or Control Center.
Read more >
How to Adjust Your Android Phone's Volume and Display ...
Setting the incoming call volume · Open the Settings app. · Choose Sound. · Set the phone's ringer volume by touching Volumes or...
Read more >
How to Turn Up the Volume on My Phone - Techwalla
There are two ways to control the volume on your phone -- from the sounds menu or by pressing the volume button that...
Read more >
How to disable or adjust the volume on a smartphone or tablet
Adjusting volume types on Android · Open the Settings app. · Navigate to the Sounds and vibration section. · Tap the Volume option....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found