Home › Forums › Graphics / Maya › Music doesn’t start
I am back for the testing phase
I have added the mp3 sound in init tab
And some click event in the main to start the music.
But I have a message in the console at the start :
visual_logic.js:250 Uncaught (in promise) DOMException: play() failed because the user didn’t interact with the document first. https://goo.gl/xX8pDD
If I click like a creasy during the loading phase, then it works
Any help ?
Right, this is a security feature of the browser. You can only play media files if the user clicks on something first.
E.g. you can make some hint for the user to confirm this.
3D Verger, the CEO
LinkedIn | FB | Twitter | VK | 新浪微博
Test your math:
Log in / Register