Description of the problem:
I am running a study which includes videos, I have successfully ran an identical study but using images instead. However, I seem to run into an error when using video stimuli.
When I try to run my experiment online, it runs normally for a few trials but then eventually I encounter an error that says ‘TypeError: Cannot read properties of null (reading ‘width’)’. I would really appreciate some advice on how to solve this issue.
Thank you!
If you have a loop set to random and an error appearing at a random point, try setting the loop to sequential to identify which trial is causing the issue. My assumption was that it was a blank row, but it could, for example, be a problem with one of the video files themselves.
I have just tried running each set of video files individually and sequentially and they work perfectly with no issues. The error seems to arise when I set the experiment to combine the files and randomise the order they are shown to participants.