DOMException: play() can only be initiated by a user gesture

Description of the issue:

Cannot play sounds from extensions without a user gesture. (Note that a gesture is not required on Chrome, Edge and Firefox)

How can this issue be reproduced?

  1. Install an extension that plays sounds upon receiving an email ex. Checker Plus for Gmail
  2. Send yourself an email and wait for the sound.
  3. The notification appears, but no sound is played.
  4. The error in the extension logs is:
    DOMException: play() can only be initiated by a user gesture.

Expected result:

The sound should play without a user gesture.

Brave Version( check About Brave):

1.7.98 Chromium: 81.0.4044.113 (Official Build) (64-bit)

Additional Information:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.