Comments (6)
@claudiulodro Yes, we'd love to have your PR here.
from pym-shortcode.
There's some discussion going on about this in the AMP Project
from pym-shortcode.
https://amp-wp.org/documentation/playbooks/custom-shortcodes-and-widgets/ describes the function is_amp_endpoint()
and amp_is_canonical()
which we might use with some of the filters added recently to change the output embed code on the page. However, AMP iframe tags aren't 100% compatible with Pym; they use a different postMessage syntax. We'd need to link out to AMP's docs for how to initialize using the amp iframe code versus Pym.js, and we'd need to make these tests ourselves.
from pym-shortcode.
I have a proposed "good-enough" solution for this at Automattic/newspack-plugin#276. Let me know if you want it in this plugin and I'll open a PR here. I'd definitely prefer to contribute it upstream to this plugin instead of maintaining it as a tweak in Newspack.
from pym-shortcode.
from pym-shortcode.
Thanks! We'll take a look as soon as we can.
from pym-shortcode.
Related Issues (20)
- rename text domain HOT 1
- React is dropping className for class HOT 1
- Add CONTRIBUTING.md
- contributors: inn_nerds becomes innlabs
- Tag 1.3.2.1 HOT 2
- Test against Gutenberg 4.0 and WP 5.0
- Gutenberg Block failing for me on Wordpress.com HOT 4
- Editor JS not enqueued in WordPress 5.0-beta versions HOT 2
- php error with latest version? HOT 6
- Test in Reader Mode in various browsers HOT 2
- Remove Pull Request Template from this repo so it's covered by INN's org-wide PR template HOT 2
- typo in docs: nwesroom
- Text domain corrections
- Release checklist for tagging version 1.3.2.3 HOT 2
- Update support.inn.org docs
- Release checklist for tagging version 1.3.2.4 HOT 3
- Test against WordPress 5.4 RC HOT 1
- Review `http:` strings in plugin and update to `https:` where possible
- Release checklist for tagging version [next]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pym-shortcode.