# Add audio in Scene

**URL:** <https://forum.8thwall.com/t/add-audio-in-scene/2637>\
**Category:** Technical Support\
**Tags:** audio, ios, splash-screen, a-frame\
**Created:** [September 3, 2024, 11:50pm UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637 "2024-09-03T23:50:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blabber\_bytes](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/blabber_bytes/32/971_2.png) [@blabber\_bytes](https://forum.8thwall.com/u/blabber_bytes)\
**Post date:** [September 3, 2024, 11:50pm UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637/1 "2024-09-03T23:50:34Z")

</div>

How do I add audio so that when the scene loads the audio starts looping?

Im trying to move code from this project into my own project.

> **[Splash Screen | 8th Wall Playground | 8th Wall](https://www.8thwall.com/playground/splash-screen-aframe/code/body.html)**
>
> This project illustrates how to delay the initialization of the AR engine until the user clicks the "Start AR" button.

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [September 4, 2024, 8:39pm UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637/2 "2024-09-04T20:39:20Z")

</div>

Are you using A-Frame to build your project? If so, this project is exactly what you are looking for - you can reference the readme and project code.

Please let us know what you’ve tried so far - any relevant code snippet(s) would be helpful.

---

<div class="post-metadata">

**Author:** ![blabber\_bytes](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/blabber_bytes/32/971_2.png) [@blabber\_bytes](https://forum.8thwall.com/u/blabber_bytes)\
**Post date:** [September 7, 2024, 1:35am UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637/3 "2024-09-07T01:35:57Z")

</div>

How do I add audio without the splash page? I tried removing the splash page components and the sound doesnt play anymore

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [September 9, 2024, 6:06pm UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637/4 "2024-09-09T18:06:32Z")

</div>

To play a video with sound on iOS, you need to capture a user gesture (such as a tap) from the user. You can either add a play button in the UI which plays the audio when clicked, or you can add a splash screen / intro button which has the user tap the screen to start the experience, like the splash screen sample project.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [September 13, 2024, 6:07pm UTC](https://forum.8thwall.com/t/add-audio-in-scene/2637/5 "2024-09-13T18:07:24Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
