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

Repeated gifs not moving #2739

Open
moramaldonado opened this issue Aug 9, 2022 · 0 comments
Open

Repeated gifs not moving #2739

moramaldonado opened this issue Aug 9, 2022 · 0 comments

Comments

@moramaldonado
Copy link

Hi,

I have a small issue with the display of gifs using image-keyboard-response with Jspysch 6.3.1.
Gifs are displayed correctly the first time they are loaded, but if a gif were two appear a second time sometimes they are static.

For example, in the code below, the two first gifs are always displayed correctly, but the last one sometimes doesn't move. Do you know why this could be?

var trials = {
        timeline: [
            {
            type: 'image-keyboard-response',
            stimulus: jsPsych.timelineVariable('gif'),
            choices: [' '],
            stimulus_width: 450,
            response_ends_trial: true,
            render_on_canvas: false}],
        timeline_variables: [{'gif': 'desert.gif'}, {'gif':'city.gif'}, {'gif':'desert.gif'}]
    };

Thanks in advance,

Mora

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

1 participant