change and input events on input type="range" don't work on ios. #393
Unanswered
metalalchemist
asked this question in
Q&A
Replies: 2 comments
-
Can you show us some sample code? Also are using standard browser Audio elements or are you using a plugin to control audio playback? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm use audio element navigator, audio tag html5 <label for="vmusica" id="smusica">Volumen de la música</label><input type="range" min="0" max="100" step="10" id="vmusica"> document.querySelector("#vmusica").addEventListener("change", function () {
var audio = document.querySelector("#vmusica");
audio.volume=document.querySelector("#vmusica").value/100);
}); i tested it in android webview and in my pc withouth cordova in Microsoft Edge and in Safary. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello, i'm making a input type=range that control the volume of an audio and firs i use the change event and then i used input.
but don't work. when i move the slider the music still are in the same volume.
the problem only is in ios. when i use in android works perfectly.
any ideas? thanks
Beta Was this translation helpful? Give feedback.
All reactions