Skip to content

Conversation

@AlexanderEllis
Copy link

Here's a rough cut for the first option in #13 .

I found that Medium loads embedded gifs and Giphy links with an element with a progressiveMedia class, in which lives a preview thumbnail. If this thumbnail is a gif or a link to giphy, this hides it. This also hides the parent element, which is a aspectRatioPlaceholder.

I'd be interested in taking a look at the second implementation as well, but I figured I would start with this!

Before:
screen shot 2018-07-17 at 5 57 08 pm

After hideGifs():
screen shot 2018-07-17 at 5 57 23 pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant