jeena / Bungloo

Basic Tent client for OS X and Linux
Other
43 stars 8 forks source link

do not play gif-animation untill clicked or mouseover #168

Open ghost opened 11 years ago

ghost commented 11 years ago

right now there is not much gif links/photos/attachments but it should be future-proof first five/six bytes of gif files are GIF87 or GIF89a

jeena commented 11 years ago

Hm, I'm not sure what I can do about that?

poweruser82 commented 11 years ago

Look at this https://github.com/matsadler/deanimator/blob/master/Deanimator.safariextension/deanimator.js It uses toDataURL to deanimate GIF.

poweruser82 commented 11 years ago

As a temporary solution, I wrote a plugin to hide media of a post.