Description of the problem: The study was running properly for 2 months, when suddenly participants are receiving this error:
Unable to download resource: stimuli/sound/Darter9.wav (No codec support for selected audio sources.)
I have tried to update the html but do not know what has changed that the experiment cannot download the audio files. Any ideas on what might have changed?
your experiment is in piloting mode, so nobody except you can test it. You need to make it the gitlab project public and share the link to your gitlab project (or add specific persons as developers).
well, the program ran off- and online (Firefox 81, Win 10 20H2) for me. The error message tells you that the browser being used does play not wav-files. Which is strange and does not make a lot of sense because darter9.wav appears quite late in your experiment in block 6.
Thank you for your help! I am use macOS Mojave. The error remains when I use Safari, but things seem loaded when I try on google chrome which is promising.
Thanks for this! I updated things and the problem still persists when I try to run the experiment in safari (which should support .wav files). Any further advice? I suppose I could request participants to run the experiment in Chrome, but that seems like problems could still arise re: compliance. Thanks for all your help with this!
Hi @hmarlatte, no problem! You’re absolutely right Safari is .wav capable, but PsychoJS currently only supports .wav playback on Chrome and that was the case a couple of months ago as well. I have brought the support fork up to date with the latest changes in your own branch, loading in the most recent version of howler.js, the library we rely on for audio support. That should now work on Safari as well
Hi,
I had the same error message Unable to download resource: … (No codec support for selected audio sources.) only when I try to pilot the experiment using a tablet despite the fact that I am using Chrome on the tablet. What should I do?
Thank you very much. Here is the link to my experiment:
Url: https://run.pavlovia.org/gshejaeya/intelligibility_native/html
It is now in the running mode. However, I also cannot download participants’ results directly. I have to go to the Repository then data folder to download the csv files. Is that normal?
Additionally, I will soon upload additional 4 experiments and use Prolific. Will I have the same issues regarding using the tablet and downloading the results with the new experiments?
I appreciate your help.
Best,
Ghada
Hi @gshejaeya, I have staged a support fork to demonstrate a potential fix. Should that be running as expected, I have prepared a merge request for you to accept the corresponding edits into your project. To gather the data files, I believe you can also use the per project download button in the sessions pane on your Pavlovia dashboard,
For reference for anyone that still finds this issue, it was fixed by an updated version of the howler JS lib, which was applied to PsychoPy in mid-2020. Please update your version of PsychoPy and regenerate/sync your JS experiment with Pavlovia