Open simonjvardy opened 3 years ago
tried refactoring the HTML5 <audio>
tag from:
<audio id="alarmSound">
<!-- No Browser support for Edge / IE -->
<source src="assets/audio/07070161.wav" type="audio/mpeg">
<!-- Edge / IE, Chrome, Firefox, Safari & Opera Browser support -->
<source src="assets/audio/07070161.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
to:
<audio id="alarmSound" src="assets/audio/07070161.mp3"></audio>
without any success.
https://bugs.webkit.org/show_bug.cgi?id=132691 describes the proble further
Describe the bug The audio .mp3 file failed to play when the alarm was triggered on an iPad
To Reproduce Steps to reproduce the behavior:
Expected behavior The alarm .mp3 file should play when the alarm is triggered
Screenshots
Smartphone (please complete the following information):
Additional context iOS WebKit requires user interaction to load or play media