- Facebook and Google could be tracking you on porn sites Today 1:42 PM
- 7 best sites for psychic love readings Today 1:20 PM
- Driver demonstrates why you always need to read road signs Today 12:58 PM
- Area 51 remix video proves it’s the summer of Lil Nas X Today 12:26 PM
- ‘ICE will come’: Convenience store clerk threatens customers speaking Spanish Today 12:11 PM
- Rand Paul dodges questions about 9/11 Victims Fund, says ‘watch Fox News’ Today 11:51 AM
- Report: ‘Stranger Things’ season 4 to begin shooting in October Today 11:03 AM
- AT&T paid Michael Cohen to consult on net neutrality, FBI documents show Today 9:10 AM
- Mysterio’s ruse changes on a second viewing of ‘Far From Home’ Today 9:06 AM
- Twitter overturns Barrett Brown’s third permanent suspension Today 8:49 AM
- How to live stream Liga MX Today 7:56 AM
- The QBaby’s parents are already trying to profit off their kid’s fame Today 7:45 AM
- How do 4DX movies work? Today 7:00 AM
- ‘Terminator 2’s John Connor will return for ‘Terminator: Dark Fate’ Today 6:41 AM
- What are all these ‘Game of Thrones’ fans supposed to do now? Today 6:00 AM
Latest Chrome update may have broken millions of web-based games
Almost every title will have to be updated.
When Google updated Chrome to automatically block autoplay videos last week, it was seen as a victory for internet-goers who long endured annoying advertisements. But what most people didn’t consider is how the changes would affect other content. It now appears the Chrome 66 update has had some unintended consequences that threaten web-based games.
Prior to the update, game audio would either start when a webpage loaded, or more commonly, after the user pressed “play.” With the latest version of Chrome, games created using any HTML5 engine—Pico-8, GameMaker, Unity, or Phaser—don’t play sound. In many cases, audio won’t even play even when a game requires users to “click to play.”
Most web games already have a ‘click to play’ button (to gain keyboard focus) but Chrome won’t allow those game to play audio unless their click method specifically resumes the AudioContext (and few do, because until now there was little reason to).— Bennett (@bfod) May 7, 2018
Foddy told the Daily Dot the updates required aren’t difficult, but he suspects most developers don’t have the components needed to make them.
He explained updating the code won’t take much work, provided that, “one, you have access to all the servers the game is hosted on; two, you still have your source code; three, you made the game either using raw JS/HTML or an engine that has been recently updated to respect this new policy (and the updates didn’t break your game in some other way; and four, you have time to go through all your projects and update them.”
“Naturally, this means only a tiny minority of existing games will be updated, even if it is not much of an issue for developers of future games on contemporary engines and libraries,” he added.
While we don’t know how many games are affected, Foddy says it’s “probably millions.” His immensely popular and undoubtedly frustrating ragdoll game QWOP was affected by the update. But Foddy was lucky. He built the title on his own server and was able to fix it with little effort. Others aren’t so fortunate.
Several prominent video game developers took to Twitter to voice their frustrations about the new Chrome update. Among those is Terry Cavanagh, who has created more than two dozen games including the hit titles VVVVVV and Super Hexagon. He says Chrome 66 “broke” his in-browser creations.
Chrome’s audio update broke my html5 stuff too. I miss flash 🙁 https://t.co/oQdqOuNm6N— Terry (@terrycavanagh) May 7, 2018
The creator of the critically acclaimed title Stephen’s Sausage Roll, Stephen Lavelle, also noted his games had been affected by the update.
Ah fuuck sake. I had just in the last year started to begin to trust that I could reliably use audio in the browser (after years of reticence). So much for that...looks like the chrome update broke all of the audio in my html5 games as well. https://t.co/gT6n9pz0VT— Stephen Lavelle (@increpare) May 7, 2018
Indie video game hosting site itch.io was forced to post instructions on how to enable its “click to play” feature so audio would play on its titles.
Are you having trouble with HTML5 game audio not working from the recent Chrome update? You can enable "Click to play" across all games from your account settings: https://t.co/tEq3G5ttMS— itch.io (@itchio) May 7, 2018
Even specific video game accounts are being forced to address concerns from gamers.
We're looking into to sound issues across King games - hopefully you'll be able to enjoy the sounds soon. The issue should only be on Google Chrome so if you want to get to the sounds right away, consider changing browser types.1/2— Pet Rescue Saga (@PetRescueSaga) May 7, 2018
Influential blogger and former Kickstarter Chief Technology Officer Andy Baio hit out at Google and urged the company to reconsider how it blocks autoplay audio.
The developers affected by the update aren’t necessarily opposed to Google preventing autoplay videos from blaring audio—they just want the tech giant to come up with another solution. Foddy suggests a mute button in tabs that is enabled by default (you can already manually mute individual tabs on Chrome) or by adjusting code to make it more friendly for games that already have a “click to play” button.
“Or they could allow annoying ads to be blacklisted, the way actual adblockers work,” Foddy said. “I’m sure there are dozens of options that would preserve our cultural heritage while muting annoying ads.”
“The reason this change is objectionable is that when we make games for the web, which is built on international open standards, we expect them to remain playable for a long time (if not forever),” he continued. “All this work exists on independently-run servers and complies with open web standards, and Google does not have the moral right to unilaterally kill it… Especially not when the only reason for it is that there are some annoying ads out there.”
UPDATE: I said in this thread that I'd realized Google posted autoplay-block documentation of Sept 2017 and I just didn't see it. I checked https://t.co/KaGiKR9Aoz and ACTUALLY NO. THE WEBAUDIO BITS WEREN'T THERE IN SEPTEMBER THEY WERE EDITED IN LATER https://t.co/olqys9YT0E— mcc (@mcclure111) May 7, 2018
It’s unclear when Google first warned developers about how the changes would impact games on its browser. Video game developer Andi McClure pointed out on Twitter that information about WebAudio API was not originally included in the company’s post about blocking autoplay videos. It appears those details were added later with code to make the necessary changes.
A very interesting thing about the policy is how it's carefully tailored in such a way it will not affect *Google's* audiovisual content site—YouTube—but *will* affect my site (https://t.co/z3QZrUzGd6). The Chrome autoplay now constitutes a market barrier to entry for AV content pic.twitter.com/b0dvN4a5uY— mcc (@mcclure111) May 7, 2018
It’s important to note that Chrome doesn’t block autoplay videos on all websites. The company said it allows autoplay for “over 1,000 sites where we see that the highest percentage of visitors play media with sound.” This exception will likely have little impact on indie game developers.
Google does say it will start enabling sound by learning people’s preferences. So if someone enables audio on an autoplay video from the same site multiple times, Chrome will enable audio on that site by default. Of course, developers will still need to make adjustments to their code to benefit.
Update 6:26pm CT, May 7: A Google spokesperson confirmed in a statement to the Daily Dot that the most recent version of Chrome can present problems for game developers.
“With Chrome’s new autoplay policies, developers shouldn’t assume that audio can be played before a user gesture,” the statement said. “With gaming in Chrome, this may affect Web Audio. We have shared details on how developers can do to address this, and the design for the policy was published last year.”
Phillip Tracy is a former technology staff writer at the Daily Dot. He's an expert on smartphones, social media trends, and gadgets. He previously reported on IoT and telecom for RCR Wireless News and contributed to NewBay Media magazine. He now writes for Laptop magazine.