I have seen GIFs on Facebook which will freeze on the mouse click. Normally these kinds of GIF are used to run a contest in social media. Right now I am not getting any social media links for reference but here is the GIF file uploaded in Giphy: http://gph.is/2hWCUaX (I am assuming this GIF is used for some contest where we need to freeze the GIF when aeroplanes are right inside the white shape).
Could anybody explain to me how to create Click & Stop GIFs?
Answer
As mentioned, GIFs cannot be paused or scrubbed through because they are just images. There are some projects that fake it like giffer, which replaces the GIF with a div with the first frame of the GIF, that then gets replaced by the original GIF when the div is clicked.
However, in recent years some applications have been converting GIFs into video files (mp4 and WebM formats usually) in order to save massively on file size (up to 95%) and gain some additional functionality like pausing and scrubbing through it. This format is called GIFV (.gifv) by Imgur. It seems that Facebook is now doing the same thing.
One valid approach for you might be to upload your GIFs to Imgur and link to their .gifv link. Another would be to just use the mp4 and WebM video formats to begin with (this is what I did with my personal page).
No comments:
Post a Comment