Use of sampler in coroutines
I understand that formally, coroutines are not supported in OSWeb, though some aspects of them do work. When trying to play an audio file, through a sampler object in a coroutine in OSWeb, I get the following error message: "Uncaught Error: Item audio does not have correct coroutine implementation". Is there a way to solve this? (This works fine in the regular offline mode)
If not, is there any other recommend way to present simultaneously visual and auditory stimuli, while waiting for keyboard response (the visual image should be presented for a short time, followed by a black screen, while user can respond from the begging of the visual image presentation till the end of the black screen).