project.travel

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Audio replay only once #9883
    project.travel
    Participant

    Hi Jeremy,

    This works perfectly, thanks so much!!

    Best,
    Sanghee

    in reply to: Audio replay only once #9871
    project.travel
    Participant

    Hi Jeremy,

    Sorry, I think this is the same code as the previous one you posted. Is there a missing component in this line?

    Thanks again!

    in reply to: Audio replay only once #9861
    project.travel
    Participant

    Thanks for the response!

    Just to follow up on your suggestion, I tried the new code, but the text now no longer appears on the page. Is there a way to make the text (“You can play it once more”) show up but disappears *after* the participant has replayed the audio?

    Thank you in advance for your help!

    in reply to: Audio replay only once #9852
    project.travel
    Participant

    Hi again,

    I have a similar question as before in my experiment https://farm.pcibex.net/r/wMBIZT/.

    I’d like a text (defined as “replay”) to appear after the audio is played for the first time, and make it disappear after the replay. (The text means ‘you can play it once more.’) As you can see in my demo link, I tried the following and a few others (in the “practice” trial):

    newTimer(“callback”,1)
    .callback(getAudio(“audio”).wait().remove())
    .callback(getText(“replay”).wait().remove())
    .start()

    The text doesn’t disappear afther the second audio play, though. Maybe I’m not understanding how the newTimer and the callback works here.

    Thank you for your help!

    in reply to: Audio replay only once #9646
    project.travel
    Participant

    Hi Jeremy,

    With your codes, it works perfectly as intended. Thank you so much!

    -Jinyoung

Viewing 5 posts - 1 through 5 (of 5 total)