We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Music doesn’t start

Home Forums Graphics / Maya Music doesn’t start

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38090
    fransua
    Participant

    Hello Guys
    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 ?

    thanks

    #38251

    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 | 新浪微博

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.