Closed Bug 861591 Opened 7 years ago Closed 7 years ago
"Save the Day" game is stuck on the loading screen with JS Type
Error: Audio Buffer Source Node "d .gain is undefined"
The log shows ehsan's patch that enable WebAudio by default. Inspecting the minified source, I can see a `mozWriteAudio`, so I suspect this page is using some kind of abstraction over AudioData API and WebAudio to make the game work cross browser. However, it seems to prefer WebAudio when available, hence the issue when we enabled WebAudio. The AudioBufferSourceNode has no gain attribute anymore since 2012-04-11, so the page should be updated to be spec compliant. However, Webkit still implements the `gain` attribute on the AudioBufferSourceNode, and it is not listed in the deprecated section in the spec. We should either implement it and add it to the deprecated names section (but it is not a deprecated name at that point, and would be sad), or close this as WONTFIX. Ehsan, thoughts?
I have posted to public-audio about this: http://lists.w3.org/Archives/Public/public-audio/2013AprJun/0146.html Hopefully we can get WebKit/Blink to change their implemnetation to drop this attribute. Anyways, I have contacted the author of this web site using the support email listed there and asked them to fix it on their end.
Actually we ended up implementing this attribute in bug 871201. With that patch, the game works fine.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 871201
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.