I have an experiment with several very short clips. However, when I test the online experiment at some point the videos do not start and all the following videos also do not start. It is not always the same video which freezes by the way. I read that I should do the following.
Write into the Begin Routine tab write:
nameOfMyMovie.reset();
nameOfMyMovie.play();
and write into the End Routine tab.
nameOfMyMovie.stop();
Instead of “nameOfMyMovie” I put the name of my video component. However, if I put this code into my code component I get the following error:
TypeError: this.movie is undefined
The videos are read off a .csv file if this is important.
Thanks for your reply wakecarter! Besides movieComponent.play(), movieComponent.reset(), movieComponent.stop(), movieComponent.seek() were recommend, but all result in errors.
I removed the code and set the starting time to 1 second. On the smartphone the videos are still freezing, but it works on my laptop with the following twist: At some point the screen starts flickering.
One solution I can try is to split the experiment in two parts, i.e., give the participants a short break.
(Note for completeness: My video files are very small and very short. I have 53 of them and I added them as additional resources using the experiment properties).
Hi There, just to check - what size are your movies, have you tried reducing the size of them/compressing them? does that help at all? (this is incase it is a memory error)