# system.util.playSoundClip only work on gateway

**URL:** <https://forum.inductiveautomation.com/t/system-util-playsoundclip-only-work-on-gateway/33738>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 7, 2020, 10:08am UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-only-work-on-gateway/33738 "2020-04-07T10:08:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 9, 2020, 4:24pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-only-work-on-gateway/33738/7 "2020-04-09T16:24:20Z")

</div>

All scripting in Perspective happens on the gateway, so `playSoundClip` will never work for what you're trying to do.

For now, the only way to have a Perspective client play a sound is using the workaround mentioned in this thread:

> [@\[feature-12986, 15300\]Unacknowledged Alarm Sound](http://forum.inductiveautomation.com/t/feature-12986-15300-unacknowledged-alarm-sound/25460/3):
>
> Use an invisible IFrame, and bind src to (don’t take this literally wink ): if(something = 1, 'http://path/to/some/noise.mp3', '' )

We're considering adding a scripting solution or some other way to actually play a sound from a Perspective component, but for now, that's the solution.

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-util-playsoundclip-only-work-on-gateway/33738)._
