# No sound when opening the game in google chrome

**URL:** <https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187>\
**Category:** FMOD Studio\
**Tags:** html5, unity\
**Created:** [May 11, 2021, 10:19pm UTC](https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187 "2021-05-11T22:19:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkqnderRed](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@SkqnderRed](https://qa.fmod.com/u/SkqnderRed)\
**Post date:** [May 11, 2021, 10:19pm UTC](https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187/1 "2021-05-11T22:19:52Z")

</div>

Hi , i need some help i c’ant hear any sound when i open the game in google chrome ,  
everything works correctly in the unity editor .  
Any help please ?

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [May 12, 2021, 11:59pm UTC](https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187/2 "2021-05-12T23:59:00Z")

</div>

Unfortunately, we’re unable to diagnose the cause of this issue with the information you’ve given us. Could you tell us more about your specific implementation?

Does your game’s audio work in browsers other than Chrome and Safari? If so, I suspect your game is not fulfilling [those browsers’ interaction requirements](https://www.fmod.com/resources/documentation-api?version=2.2&page=platforms-html5.html#safari-and-chrome-browser-user-interaction-requirement-use-for-all-browsers).

---

<div class="post-metadata">

**Author:** ![SkqnderRed](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@SkqnderRed](https://qa.fmod.com/u/SkqnderRed)\
**Post date:** [May 13, 2021, 11:27pm UTC](https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187/3 "2021-05-13T23:27:11Z")

</div>

Yes i have the same problem in safari how can i do the touch event or a mouse click event ?  
we have in the game a first screen with username and password fields .  
How and where can i attach this script ?

// Set up iOS/Chrome workaround. Webaudio is not allowed to start unless screen is touched or button is clicked.  
function resumeAudio()  
{  
if (!gAudioResumed)  
{  
console.log(“Resetting audio driver based on user input.”);

```
    result = gSystem.mixerSuspend();
    CHECK_RESULT(result);
    result = gSystem.mixerResume();
    CHECK_RESULT(result);

    gAudioResumed = true;
}

```

}

var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;  
if (iOS)  
{  
window.addEventListener(‘touchend’, resumeAudio, false);  
}  
else  
{  
document.addEventListener(‘click’, resumeAudio);  
}

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [May 14, 2021, 3:28am UTC](https://qa.fmod.com/t/no-sound-when-opening-the-game-in-google-chrome/17187/4 "2021-05-14T03:28:26Z")

</div>

I’m not sure I understand the nature of the problem you’re facing. What is the code you are using to handle your users’ interaction with the username and password fields, and why can you not insert the mixer suspend/resume code into it?
