aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2026-02-07 13:10:27 +0100
committerDavid Skoland <davidskoland@gmail.com>2026-02-07 13:10:27 +0100
commit0c76b200cc68c59772df930acd34a58bd6272c7f (patch)
tree173b1362585945d734f87c9808c618ec55a3d553 /.eslintrc.js
parent4ab187b991ec40993c4b030e1612d9bb41f18924 (diff)
Catch rejected play() promises from browser autoplay policy
Browsers reject .play() with a DOMException when the user hasn't interacted with the document yet. Add .catch(() => {}) to all 9 play() call sites to suppress the uncaught promise rejection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to '.eslintrc.js')
0 files changed, 0 insertions, 0 deletions