JavaScript Articles Written by Ben Marshall |
freezeframe.js is a modern JS library that uses
canvas
to easily allow pausing and playing of GIF animations. In this article, I'll show you how to pause a GIF, then play on command using mouse events — or by triggering it manually.