# Audio out on iOS (update?)

**URL:** <https://discourse.nodered.org/t/audio-out-on-ios-update/64394>\
**Category:** General\
**Created:** [26 June 2022 15:15 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394 "2022-06-26T15:15:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielEcheverri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/danielecheverri/32/62150_2.png) [@DanielEcheverri](https://discourse.nodered.org/u/DanielEcheverri)\
**Post date:** [26 June 2022 15:15 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394/1 "2022-06-26T15:15:56Z")

</div>

Hi everyone.Right now I am working on a fairly complex flow which, in a very general way, depending on two variables sent by a device, an audio file hosted in a web server is played in the dashboard. I am using the HTTP request and audio out nodes for this purpose. As you probably guessed, it works really well on a Mac or Windows computer, and even on Android (although with some noise when playing the files), but there is no audio out in iOS due to restrictions on Webkit.

Apparently audio only plays in iOS if it's user-initiated, so I tried using a button to play audio, but I still can't hear anything on the iPhone. Ive found some workarounds like [here](https://rosswintle.uk/2019/01/skirting-the-ios-safari-audio-auto-play-policy-for-ui-sound-effects/) or this [here](https://olafwempe.com/how-to-enable-audio-and-video-autoplay-with-sound-in-chrome-and-other-browsers-in-2019/) but I am not sure how to integrate them into my flow (maybe through an iframe?)

This has been discussed already in some older posts in this forum. However, the latest posts are at least 2 or 3 years old... I was wondering if anyone has been able to find a workaround to play audio (or autoplay) in iOS?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [26 June 2022 19:14 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394/2 "2022-06-26T19:14:36Z")

</div>

Would something like a Telegram bot do the trick? I know it supports audio but I don't know if it will auto-play.

---

<div class="post-metadata">

**Author:** ![DanielEcheverri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/danielecheverri/32/62150_2.png) [@DanielEcheverri](https://discourse.nodered.org/u/DanielEcheverri)\
**Post date:** [27 June 2022 07:20 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394/3 "2022-06-27T07:20:21Z")

</div>

Thanks for the reply. I'm not sure if I was clear. I am trying to play audio on iOS web browsers like Safari or Firefox when a user logins to the dashboard from their mobile. I think using Telegram would add complexity to the project.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 June 2022 08:51 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394/4 "2022-06-27T08:51:25Z")

</div>

Given that Apple specifically block auto-playing of audio in Safari - I would suggest you are already into the territory called "complex" 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 August 2022 08:52 UTC](https://discourse.nodered.org/t/audio-out-on-ios-update/64394/5 "2022-08-26T08:52:06Z")

</div>

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