Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Twitter #33

Open
simonlindholm opened this issue Aug 28, 2015 · 2 comments
Open

Support for Twitter #33

simonlindholm opened this issue Aug 28, 2015 · 2 comments

Comments

@simonlindholm
Copy link
Owner

Twitter uses their own custom form of GIFVs rather than true gifs. The videos can be detected by class="animated-gif", but some custom code is probably also needed to play nice with twitter's play-when-scrolled-into-view UI.

(MP4 needs to be enabled, otherwise it falls back to Flash which is harder to control. As a note to self the prefs needed for this are media.gstreamer.enable-blacklist;false, media.fragmented-mp4.exposed;true, media.fragmented-mp4.gmp.enabled;true).

@simonlindholm
Copy link
Owner Author

http://simonsoftware.se/temp/toggle-gifs.xpi is an (unsigned, so will stop working soon :( ) XPI with the above commit. It's slightly buggy but might be useful still.

Solving this fully seems like relatively low priority, because it's quite a bit of work, not that much value in it, and fragile because of possible Twitter changes. I'll think more about what to do the next time I poke at this addon.

@Geobert
Copy link

Geobert commented Apr 9, 2016

That's why it's not working in tweetdeck I guess :( why did they do such a thing? :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants