Article 3PQE5 In blocking autoplay videos, Chrome is breaking many Web-based games

In blocking autoplay videos, Chrome is breaking many Web-based games

by
Kyle Orland
from Ars Technica - All content on (#3PQE5)
qwop-800x500.jpg

Enlarge / Developer Bennett Foddy had to update cult classic QWOP to work with Chrome's new update. Many other Web-based games may not be so lucky. (credit: Bennett Foddy)

An update Google rolled out for its popular Chrome browser this weekend helps prevent those annoying auto-playing video ads on many websites from disturbing your day with unwanted sound as well. But that update is causing consternation for many Web-based game developers who are finding that the change completely breaks the audio in their online work.

The technical details behind the problem involve the way Chrome handles WebAudio objects, which are now automatically paused when a webpage starts up, stymying auto-playing ads. To get around this, Web-based games now have to actively restart that pre-loaded audio object when the player makes an action to start the game, even if that audio wasn't autoplaying beforehand. "The standard doesn't require you to do this, so no one would have thought to do this before today," developer Andi McClure told Ars Technica.

"With Chrome's new autoplay policies, developers shouldn't assume that audio can be played before a user gesture," Google told The Daily Dot in a statement. "With gaming in Chrome, this may affect Web Audio. We have shared details on what developers can do to address this, and the design for the policy was published last year."

Read 6 remaining paragraphs | Comments

index?i=n2VgMfCW_6U:7R_U0kUiYMI:V_sGLiPB index?i=n2VgMfCW_6U:7R_U0kUiYMI:F7zBnMyn index?d=qj6IDK7rITs index?d=yIl2AUoC8zA
External Content
Source RSS or Atom Feed
Feed Location http://feeds.arstechnica.com/arstechnica/index
Feed Title Ars Technica - All content
Feed Link https://arstechnica.com/
Reply 0 comments