question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images don't present consecutively in jspsych-animation (for firefox only)

See original GitHub issue

I was trying to present 60 images as an animation, I found the plugin jspsych-animation doing exactly that (thank you so much). I want all 60 images to present one after another without breaks in between, so I set frame_isi to be 0. When running the script in Chrome, the animation presents without breaks between images, but when running in Firefox, the animation ‘blinks’ so much and it seems that there is an isi after each image.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jodeleeuwcommented, Jul 20, 2020

We’ll need to investigate this further to figure out if preloading behavior has changed in recent browser updates. I’ll add it to one of our milestones. Thanks for flagging this issue.

0reactions
becky-gilbertcommented, Oct 30, 2020

I think I was able to reproduce this. Here’s the cognition.run demo: https://elivpqnmqw.cognition.run

In Firefox, according to the network tab, the images are preloaded/cached successfully when the page loads, and not requested again when the animation starts. But still I do see some flashing between images during the first run through the image sequence, then the animation runs smoothly after that. So the behavior seems consistent with the images not preloading, but the network tab says that they are…

Can someone else check this out in Firefox and let me know if they’re seeing the same thing, please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix problems that cause images to not show | Firefox Help
This article explains how to fix problems with images on websites, such as PNG, GIF, and JPG still images, as well as animated...
Read more >
animation - jsPsych
This plugin displays a sequence of images at a fixed frame rate. ... (white flash) between consecutive images in some browsers, like Firefox...
Read more >
Email patches - Pavlovia's
+ // if this is the case, don't show the prompt until the animation is over. ... (prevents blank screen between consecutive images...
Read more >
experiment generators, both lab-based and online - OSF
2 Laboratory of Image and Data Analysis, Ilixa Ltd., London (UK) ... (whereas some of the packages only allow stimuli to be displayed...
Read more >
Animation from 0 to 1 opacity does not work in FireFox but ...
.logo-new { background-image: url(". ... This means that IE 11 and FireFox 38.x do not need any browser specific styles for animation, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found