-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[amp-anim] add support for [amp-lightbox-gallery] #24306
Comments
Curious what the solution here will end up being and whether we should implement annoying workarounds or wait for AMP to fix it. Appreciate any discussion to "feel the room" and gauge the complexity of the fix. |
Here's an example of the issue: https://www.androidpolice.com/2019/08/28/gmail-finally-adds-that-smooth-account-switching-gesture-apk-download/?amp. The GIFs are currently being excluded from the gallery and can't even be tapped on to zoom in. |
Due to amp-anim's poor performance I think our intention has been to deprecate it. There is appetite for using videos to manage gifs as you can see here: #24001 Curious to hear: Is it possible to use |
That would certainly make things simpler for us. |
You can currently add your gifs to |
@nainar This is the problem in AMP-WP though: https://github.com/ampproject/amp-wp/blob/develop/includes/sanitizers/class-amp-img-sanitizer.php#L311. How do we proceed? |
@archon810 Would you create a new issue on the AMP plugin repo for this? Let's collaborate there on a way to force |
@maciejmackowiak will create it soon. |
Also, here's a quick workaround plugin that forcibly converts all |
Fantastic - the workaround works https://www.androidpolice.com/2019/08/28/gmail-finally-adds-that-smooth-account-switching-gesture-apk-download/?amp. We'll revert it when this ticket is eventually properly resolved. Thanks @westonruter! |
Any updates here please? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Describe the new feature or change to an existing feature you'd like to see
I would love to use amp-lightbox-gallery when embedding gifs on page but as per AMP documentation:
![obraz](https://user-images.githubusercontent.com/24996403/64009914-121ca980-cb19-11e9-82ae-022fcb00d25a.png)
gif should be embeded with amp-anim but amp-lightbox-gallery doesn't support amp-anim.
https://amp.dev/documentation/examples/components/amp-anim/
Describe alternatives you've considered
Probably I could use amp-img for gif's but:
https://github.com/ampproject/amp-wp/blob/develop/includes/sanitizers/class-amp-img-sanitizer.php#L311
The text was updated successfully, but these errors were encountered: