PennController for IBEX › Forums › Support › Slow loading on iPad
Tagged: iOS, iPad, preloading, slow
- This topic has 7 replies, 3 voices, and was last updated 3 years, 8 months ago by CBill.
September 17, 2019 at 9:17 am #4162
I am having trouble running an experiment on an iPad.
When I run the experiment, every couple of trials a blank page will load with the following message:
‘Please wait while the resources are preloading, This may take up to 1min.’
After ~30-40sec the next trial will load and you can continue. You can complete the whole experiment, however, it takes quite a long time and is quite a disjointed experience.
The strange this is, this only seems to happen on iOS devices. I have tested it on two different iPads and an iPhone, and they all have this issue. In contrast, I have tested the experiment on an android phone (Pixel) and two Macbooks and it runs perfectly fine on these devices, with no delay between any of the trials.
Any thoughts on what is going on, or how I might be able to fix this. My plan is to run this experiment with children and that is why I would like to be able to run the experiment on an iPad. And other than this one issue, it works very well.
Thanks for any help.September 17, 2019 at 9:25 am #4163floriansModerator
Hi Cory – what browser are you using on the iOS devices? Have you tried different ones? That might be worth a try for starters if you haven’t done that already.September 17, 2019 at 9:34 am #4164
Yeah I have tried using Safari, Firefox, and Chrome and all seem to have exactly the same issue.
I have also tried the following with no change in the behavior:
– Forcing the experiment to load the resources using the ‘PennController.CheckPreloaded()’ command.
– Accessing the resources from a zipped folder using the ‘PennController.PreloadZip() command.September 17, 2019 at 9:55 am #4165
Also, I just timed the pauses, and they are always 1 minute long, so it seems like it might be timing out each time?
The current version of the experiment takes ~1min 30secs to complete on a computer, and ~10min to complete on an iPad.September 17, 2019 at 10:17 am #4166JeremyKeymaster
There seem to be issues with the preloading of audio files, maybe your problem is related. What resources does your experiment use?
If you have a link to your experiment, feel free to share it with us so we can look into the script.
JeremySeptember 17, 2019 at 10:23 am #4167
Here is the link: https://expt.pcibex.net/ibexexps/CBill/NDC_Child/experiment.html
I have been playing around with it a bit, and I think it is something to do with the audio files, as when I remove audio files from an item, it loads immediately.
I have tried .mp3 and .wav audio file formats and both seem to have the same issue. Could a different format work better? We will be running this experiment in daycares using the same 1 or 2 iPads, so it would be fine to have the files in a format that only works on iPads or certain browsersSeptember 17, 2019 at 12:06 pm #4168JeremyKeymaster
Can you try updating your version of PennController to this dev version?
repo url: https://github.com/PennController/Sync
dev-corySeptember 18, 2019 at 4:37 am #4169
Yes, it is working perfectly now!
- You must be logged in to reply to this topic.