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.

why we need to click double for playing audio

Home Forums General Questions why we need to click double for playing audio

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #80484
    visualizer
    Customer

    Is there any browser or internet thing which restricts the playing audio on first click in published scene ?
    On second attempt is plays well… later it plays properly unless you refresh the scene. But once you refresh and load again, the play button needs to be clicked second time to play an audio.
    Can we fix this?

    #80489
    kdv
    Participant

    the play button needs to be clicked second time to play an audio.

    Actually no, there is no need in clicking twice.

    Show your puzzles (upload the app’s files).

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #80509
    visualizer
    Customer

    Hi
    KDV
    here is a first set up used straight forward which had to be clicked twice on first attempt to play the sound & later on every first click it will play but the first attempt was required two clicks. first image.

    With the second setup I tried it by setting up the variable first and then it started playing on first attempt of click. as of now it is solved but is this the only way or still there are other ways ? just curious.

    Attachments:
    You must be logged in to view attached files.
    #80514
    kdv
    Participant

    With the second setup I tried it by setting up the variable first and then it started playing on first attempt of click

    that’s the only correct way. sound objects should be preloaded and created before playing them.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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