Overview
Error Source: debug.log (Runtime)
This article explores the reasons why the 'Uncaught (in promise) NotAllowedError: play() failed because the user didn't interact with the document first' could be output to the runtime debug log.
Potential Causes
- This error occurs when an audio file is played without the user interacting with the DOM first. More information on this error is available here.
Solutions:
--autoplay-policy=no-user-gesture-required
The --autoplay-policy=no-user-gesture-required can be added to the runtime arguments which will resolve this issue. More information on how the apply the flag can be found in our Configuring Runtime Arguments article.
Comments
0 comments
Please sign in to leave a comment.