Playing without audio on iOS 13.3.1
See original GitHub issueWavesurfer.js version(s):
3.3.1 (2020-01-14)
Browser and operating system version(s):
Safari on iOS 13.3.1
Code needed to reproduce the issue:
var wavesurfer = WaveSurfer.create({
container: '#waveform',
waveColor: '#ccc',
progressColor: '#000000',
height: 40
});
wavesurfer.load('sample.mp3');
Use behaviour needed to reproduce the issue:
Trying to play the audio does not create any errors and visually all seems to work. However, no sound can be heard. The same is true for examples that are supplied on the official Waversurfer website (https://wavesurfer-js.org/).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Playing video - no sound, have to run sou… - Apple Community
When attempting to play any video that is in Messages or in the Photos app - playback occurs with no sound. Sound volume...
Read more >Developers - Playing without audio on iOS 13.3.1 -
Trying to play the audio does not create any errors and visually all seems to work. However, no sound can be heard.
Read more >No Sound On iPhone 13? Here are some ways to fix it!
When your iPhone doesn't render any sound when using apps and playing audio files even when ringer mode is active, you're likely facing...
Read more >How To Play YouTube Audio In The Background On iOS 13
We have tested this trick and can confirm that it works on iOS 13.3.1. 1. On your iPhone or iPad open Safari and...
Read more >iOS 16 Changes How You Record and Send Audio Messages ...
Tap the play button to preview the audio message before sending it, the X icon in the text entry field to discard the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@thijstriemstra @katspaugh fyi I will open another PR to fix this ios silent issue once #2164 is merged. Will update the
.play()
method to run first before playing anything right before the interaction event is thrown. https://github.com/katspaugh/wavesurfer.js/blob/master/src/wavesurfer.js#L809Since there’s no way of knowing if a mobile device is in silent mode, running it before the
play()
should be fine, as it’s an empty audio base64.You may test it on your ios devices here: https://www.entonbiba.com/lab/ios2.html
Same on iOS 14