Alright, great If you mean sourcing the audio separately while the video is on mute, I would expect that would work same as e.g. Choice_code, non? x
This works great on Safari 14.x version now, thank you!
For version 13, we get the āReference error, cannot find variable asarrayā. I had put the code below in the Begin Experiment tab of rewardanimation to fix the same error in version 14.x. But apparently it doesnāt work in the older version. Do you have any suggestions?
let asarray=function(something) {
return something;
}
No worries @zeynep_c, is that the same repo? Canāt find any references to asarray
in my clone, x
oh, yes it is, Iāll sync again in case it didnātā¦
Ah cool, thanks, x
Hmm, I did but now in both my ipad using safari 14.x and on chrome on my laptop -which always worked- I get the same asarray error when it comes to the magic trick.
The code I used is below, but it doesnāt seem to work anyway.
Alright, no worries, let me check, x
Iāve set the audio start time to 0 for the magic trick audio files and it works again on Chrome and Safari v 14 (not sure if this is a good fix but saw that audio duration not being set was an issue in some other posts). Iām now asking around to see if it works in different browsers, esp older Safari browsers.
Sounds good, OK about the asarray
function expression, I believe moving that block of code over to the Before Experiment tab is all that would be required to make it work across the rest of the script, x