# Demo from the sound tutorial does not work on iPhone 14, but works on iPhone 11

**URL:** <https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198>\
**Category:** Questions\
**Tags:** sound\
**Created:** [October 25, 2023, 11:51pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198 "2023-10-25T23:51:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidP](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidp/32/45669_2.png) [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Post date:** [October 25, 2023, 11:51pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/1 "2023-10-25T23:51:03Z")

</div>

Hello,

This demo playground

> **[Babylon.js Playground](https://playground.babylonjs.com/#KBA3JY%234)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

from Babylon’s official tutorial on handling sound autoplay

> **[Audio | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/audio/playingSoundsMusic#handling-autoplay--unlocking-audio-on-first-user-interaction)**
>
> Dive into everything you could want to know about using the Babylon.js sound engine for simple to advanced audio.

works as expected on iPhone 11 / Safari - music starts playing on tap. However, it does not work on iPhone14Pro / Safari. No matter how I tap / click the canvas, I am not getting sound.  
(my iPhone14Pro is on iOS 16.7.2)

Please let me know how sound autoplay should be handled on iPhone14

Thank you

---

<div class="post-metadata">

**Author:** ![DavidP](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidp/32/45669_2.png) [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Post date:** [October 26, 2023, 4:04am UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/2 "2023-10-26T04:04:15Z")

</div>

I found a very ugly work-around. To make this work on iPhone14, I need to play on background a video that has zero-volume sound (note this video cannot be muted and it cannot be a video with stripped sound) Here is my playground

> **[Babylon.js Playground](https://playground.babylonjs.com/#KBA3JY%2321)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

I hope someone has anything less ugly than that

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [October 26, 2023, 7:20am UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/3 "2023-10-26T07:20:54Z")

</div>

cc @docEdub

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [October 26, 2023, 5:34pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/4 "2023-10-26T17:34:23Z")

</div>

cc @docEdub

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [October 26, 2023, 6:37pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/5 "2023-10-26T18:37:01Z")

</div>

Is the iPhone ring/silent switch on the left side of the device set to allow sound?

 ![Screenshot 2023-10-26 134030](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/0/503a4e4866ccf3b9648063c914bc0ed2a5649018.png)

---

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [October 26, 2023, 6:37pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/6 "2023-10-26T18:37:52Z")

</div>

@DavidP  
Hey, please try this one, i removed the check if audioEngine is already unlocked, it acts a bit strange sometimes.  
Afraid i don’t have any IOS devices to test it with.

> **[Babylon.js Playground](https://playground.babylonjs.com/#KBA3JY%2323)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [October 26, 2023, 7:15pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/7 "2023-10-26T19:15:04Z")

</div>

There may be a related Safari bug with bluetooth. Try closing Safari, turning off bluetooth, and re-opening Safari to see if that gets it working.

---

<div class="post-metadata">

**Author:** ![DavidP](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/davidp/32/45669_2.png) [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Post date:** [October 26, 2023, 8:36pm UTC](https://forum.babylonjs.com/t/demo-from-the-sound-tutorial-does-not-work-on-iphone-14-but-works-on-iphone-11/45198/8 "2023-10-26T20:36:05Z")

</div>

> Is the iPhone ring/silent switch on the left side of the device set to allow sound?

That is it! I switched it and now the example starts working. Thank you
