E
E
Eugene2019-07-11 11:56:56
css
Eugene, 2019-07-11 11:56:56

Multiple GIFs in a row, one by one?

Hello!
Is there a way to display multiple GIFs on a page, one after the other, in turn?
One GIF ends, another one turns on in its place, and so on.
What should be done.
Animation of the machine, at the beginning the cutting tool approaches the workpiece and processing begins. Here the processing must be looped, without the first part of the tool supply.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Barring, 2019-07-11
@Barring

If I understood the goal correctly, then only one way of implementation has arisen in my head so far - just change the src of the picture (animation) itself and calculate in advance through setTimeout how long these changes will take to make.

A
Anton, 2019-07-13
@rob0kop

JavaScript GIF parser and player - https://github.com/buzzfeed/libgif-js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question