Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on playing videos #3231

Open
keijiota opened this issue Feb 13, 2024 · 3 comments
Open

Issue on playing videos #3231

keijiota opened this issue Feb 13, 2024 · 3 comments

Comments

@keijiota
Copy link

Dear community,

Hello. I use a plugin video-keyboard-response and ask people make a judgment after watching a video clip. But sometimes I see that videos fail to play and it leaves a blank background. It produces an error message below on a developer tool.
https://developer.chrome.com/blog/play-request-was-interrupted

This happens regardless of which web browser I use.
I understand there is always a risk of not being able to play videos. But I need to take a record of it when it happens. Would you please let me know how to get this error response and write it on the data file of the excel sheet?

Many thanks as always.
Keiji

@jodeleeuw
Copy link
Member

Hi @keijiota

Can you share the parameters you are using for the trial? I want to see if I can reproduce the problem and figure out a solution for the plugin.

@keijiota
Copy link
Author

Yes, sure here is it. The problem happens more often when I run it on Gorilla.

S0L0 = ['videos/S0L0.mp4']
var preload = {type: jsPsychPreload,
video: S0L0};

var FirstStim = {
type: jsPsychVideoKeyboardResponse,
stimulus: S0L0,
choices: "NO_KEYS",
response_ends_trial: true,
trial_ends_after_video: true,
trial_duration: 5000,
width: 600,
};

timeline = timeline.concat(preload);
timeline = timeline.concat(FirstStim);

@alessandraluz
Copy link

Did you manage to get a solution for this @keijiota ? I am facing a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants