Millisecond Forums

Audio problems online studies

https://forums.millisecond.com/Topic23841.aspx

By plush - 2/6/2018

Hi, a large number (though not all) of my participants are getting errors relating to audio in a web-script. Everything is working fine for me so I am not able to reproduce their errors.

One participant copy-pasted the error:
Error Message

iconError/dhofman/shp11eng_2/shp11eng_2.iqxInquisit Media Error: Media Foundation: Media Object is not initialized. line 470: file win\MediaFoundationPlayerControl.cpp
iconError/dhofman/shp11eng_2/shp11eng_2.iqxUnable to the load media file 'C:/Users/Georgina/AppData/Local/Temp/rap.wav'.
iconError/dhofman/shp11eng_2/shp11eng_2.iqxUnable to the load media file 'C:/Users/Georgina/AppData/Local/Temp/rap.wav'.

(I previously used mp3's but there participants have also repeatedly reported audio problem)

Any advice would be appreciated!
By plush - 2/7/2018

http://research.millisecond.com/dhofman/shp11eng_2.web
By Dave - 2/7/2018


If you are using WAV files, you should generally use <sound> elements (not <video>), i.e. in your script, try changing

<video negative>
/items = negative
</video>

<video positive>
/items = positive
</video>

to

<sound negative>
/items = negative
</sound>

<sound positive>
/items = positive
</sound>
By plush - 2/7/2018

Dave - Wednesday, February 7, 2018

If you are using WAV files, you should generally use <sound> elements (not <video>), i.e. in your script, try changing

<video negative>
/items = negative
</video>

<video positive>
/items = positive
</video>

to

<sound negative>
/items = negative
</sound>

<sound positive>
/items = positive
</sound>

(omg). Do not know how I missed this. Thanks for this!