ctrl-freaks / freezeframe.js

freezeframe.js is a library that pauses animated .gifs and enables them to animate on mouse hover / mouse click / touch event, or with trigger / release functions.
http://ctrl-freaks.github.io/freezeframe.js/
MIT License
1.41k stars 111 forks source link

Animation is not starting from the frame it was paused #72

Closed sbalajime closed 4 years ago

sbalajime commented 4 years ago

The gifs are stopped and started from starting point. Is it possible to pause and play from the frame it was paused and not from the start?. i searched for documentation but couldn't find enough info.

duepi commented 4 years ago

+1

nickforddev commented 4 years ago

This is basically not possible in any practical sense. From a project scope POV, we need to be able to support using gifs that are hosted on any domain (probably the most common use of gifs is from an external domain). The browser prevents you from accessing the actual data of the image if it's on a different domain, so we cannot parse the actual frames.

sbalajime commented 4 years ago

Thanks for the information