# Audio Component not playing sound through web browser

**URL:** <https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012>\
**Category:** Ignition\
**Created:** [December 11, 2023, 10:26pm UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012 "2023-12-11T22:26:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Rivera](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Joseph\_Rivera](https://forum.inductiveautomation.com/u/Joseph_Rivera)\
**Post date:** [December 11, 2023, 10:26pm UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/1 "2023-12-11T22:26:11Z")

</div>

Hi everyone, I've been fighting with getting the Audio component to play sounds through a web browser for a few weeks now and am at a bit of an impasse. I have it setup to correspond to an alarm tag that when true will flip the playback value to true, and play the file until the alarm is no longer true.  
I can get the sound to play when in the Ignition Designer without issue, however every time I try to get it to play in a browser window, nothing! I have verified the playback is set to true, volume of the element is at 100, and that computer speakers are on, but nothing still! Any suggestions or advice would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [December 12, 2023, 7:26am UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/2 "2023-12-12T07:26:33Z")

</div>

This may be a permissions issue in your browser, you normally need to allow sound effects to play before the browser will let you.

Can maybe try with different browsers and check the browser settings

---

<div class="post-metadata">

**Author:** ![aaronrai24](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/aaronrai24/32/87248_2.png) [@aaronrai24](https://forum.inductiveautomation.com/u/aaronrai24)\
**Post date:** [December 12, 2023, 8:36am UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/3 "2023-12-12T08:36:00Z")

</div>

Have you tried looking in the web browsers console for any errors as well?

---

<div class="post-metadata">

**Author:** ![Joseph\_Rivera](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Joseph\_Rivera](https://forum.inductiveautomation.com/u/Joseph_Rivera)\
**Post date:** [December 12, 2023, 11:01pm UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/4 "2023-12-12T23:01:45Z")

</div>

It seems to be working on Chrome now which is a starting point! Oddly in Edge (which runs on Chromium) still no dice, despite trusting the site and allowing everything, however there was no explicit Sound allowance field for it.

What's more is the Raspi I'm trying to run this on via Chromium browser is also unable to playback the sound! Maybe Chromium just hates ignition! ☹

I'll try to get a copy of Chrome on it and report back!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2023, 11:10pm UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/5 "2023-12-12T23:10:05Z")

</div>

> [@Joseph\_Rivera](#):
>
> Maybe Chromium just hates ignition!

Or maybe the sound file uses a patent-encumbered codec? Chrome has DRM and licenses to use such, Chromium does not.

---

<div class="post-metadata">

**Author:** ![Joseph\_Rivera](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Joseph\_Rivera](https://forum.inductiveautomation.com/u/Joseph_Rivera)\
**Post date:** [December 13, 2023, 7:49pm UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/6 "2023-12-13T19:49:30Z")

</div>

I have been trying to use .wav files, I'm unaware if they are a patented codec, but I can always give some other formats a whirl if that is the issue

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [July 6, 2026, 4:11am UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/7 "2026-07-06T04:11:57Z")

</div>

FYI, modern web browsers (including the view renderer used within Ignition Designer) have strict autoplay policies, which prevent websites from blasting audio or video without your prior interaction.

If your Perspective audio component does not appear to be playing audio, Clicking within the view may allow subsequent plays of the audio component to work, however of there has been a "play" attempt prior to interaction then the `play` property of the audio components won't reset itself, it will be stuck with `play` set True.

So it will be necessary to detect a stuck `play` property and perform a reset of it.

At this point I am not clear how to detect whether the browser interaction policy has been met, other than detecting when `play` fails to reset itself.

UPDATE: The detection options appear to be...

- When the `play` property on the Perspective Audio component does not reset after a threshold duration.
- By using the `onError` event of the Perspective Audio component, faster than waiting on a threshold duration.
- Both require an attempt at playing something first.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 6, 2026, 9:37am UTC](https://forum.inductiveautomation.com/t/audio-component-not-playing-sound-through-web-browser/83012/8 "2026-07-06T09:37:02Z")

</div>

> [@tyler.bennett](#):
>
> how to detect

Something malware would also want, so not likely to become reliable.
