Jump to content

No sound or music on Chrome desktop (windows 10)


Recommended Posts

I was just checking on my games yesterday and realize that no sound or music is playing on Chrome for desktop. Firefox and Edge are working fine. IE never worked.

On Chrome for Android sound and music will start playing after the first user input. Firefox works just fine.

Did I miss something? Windws, Android, and browsers are all up to date.

I'm on the latest version of GameMaker: Studio 1.4 now and having this issues but the games on my catalog where made on 1.4.1763 and still the same thing.

Link to comment
Share on other sites

I have the same problem, using Construct 2.  My projects' audio worked in Chrome a few days ago, but now--nothing (unless I press F5;  then the sound returns).  I tried my games out on other peoples' computers, using Chrome, and had the same result, although all of the other browsers worked fine.  It seems something in Chrome changed during an upgrade process, perhaps.  At least two other people complained about it in the Scirra (Construct) forum.

Link to comment
Share on other sites

Here is a a little hack that worked for me. Just ad that anywhere on your game.js. I put it on the very beginning. 

if(typeof AudioContext != "undefined" || typeof webkitAudioContext != "undefined") {

   var resumeAudio = function() {

      if(typeof g_WebAudioContext == "undefined" || g_WebAudioContext == null) return;

      if(g_WebAudioContext.state == "suspended") g_WebAudioContext.resume();

      document.removeEventListener("click", resumeAudio);


   document.addEventListener("click", resumeAudio);


Link to comment
Share on other sites

I hit this problem as well.  I fixed it by calling resume() when the user presses a button:


If you look at your Chrome console, it will tell you that it created AudioContext in a suspended state, and give you instructions on how to resume it.

Link to comment
Share on other sites

  • 9 months later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...