Comments

In Blocking Autoplay Videos, Chrome Is Breaking Many Web-Based Games

In Blocking Autoplay Videos, Chrome Is Breaking Many Web-Based Games
Published on May 09, 2018 at 08:50PM
An anonymous reader quotes a report from Ars Technica: 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 more of this story at Slashdot.





Hope you like this please comment your view and share to your friends thanks for visiting bye guys meet you in next post
In Blocking Autoplay Videos, Chrome Is Breaking Many Web-Based Games In Blocking Autoplay Videos, Chrome Is Breaking Many Web-Based Games Reviewed by Kartik on May 09, 2018 Rating: 5

No comments:

Ad

Powered by Blogger.