Hello, Firstly I want to thank you guys for great efforts on jspsych which helps a lot on psychology experiments. However, I've encounted a blank screen when trying to play videos on iphone safari recently, while the experiment script runs quite well on Androids and windows10 laptops.
I inspected what happend when safari loaded the script. As is shown in the picture below, the preload-plugin works fine, and the first video-keyboard-response-stimulus works fine too, the first video can be autoplayed. However, I get blank screen during the second video trial which is last line in the picture.
There is a 'not allowed error' and I don't know what to do with it due to limited knowledge on broswers. I wish someone could kindly help me resolve this problem.
As I know, the former issues about images especially #1548 which @becky-gilbert said on 9 sep may have something to do with the problem, but nothing changed even if I replace the video paths to cognition CND URLs.
Besides, I ran the jspsych 7 script below on cognition.run(https://fhxfljhvg0.cognition.run/), and I've upload all the videos on it. The 'pubg.mp4' is about 12.7MB and 'fish.mp4' is 1.25MB.
The device I use is iphone 13 pro max, iOS 15.0.2.
Well, As far as I know, this problem may have something to do with the videos' codec. Especially when I transfer the origin video from HEVC(H.265) to H.264. This works for me for now.
Hello, Firstly I want to thank you guys for great efforts on jspsych which helps a lot on psychology experiments. However, I've encounted a blank screen when trying to play videos on iphone safari recently, while the experiment script runs quite well on Androids and windows10 laptops.
I inspected what happend when safari loaded the script. As is shown in the picture below, the preload-plugin works fine, and the first video-keyboard-response-stimulus works fine too, the first video can be autoplayed. However, I get blank screen during the second video trial which is last line in the picture.
There is a 'not allowed error' and I don't know what to do with it due to limited knowledge on broswers. I wish someone could kindly help me resolve this problem.
As I know, the former issues about images especially #1548 which @becky-gilbert said on 9 sep may have something to do with the problem, but nothing changed even if I replace the video paths to cognition CND URLs.
Besides, I ran the jspsych 7 script below on cognition.run(https://fhxfljhvg0.cognition.run/), and I've upload all the videos on it. The 'pubg.mp4' is about 12.7MB and 'fish.mp4' is 1.25MB.
The device I use is iphone 13 pro max, iOS 15.0.2.