[wp-trac] [WordPress Trac] #55771: Add oEmbed support for Google Data Studio
WordPress Trac
noreply at wordpress.org
Mon Oct 10 04:02:46 UTC 2022
#55771: Add oEmbed support for Google Data Studio
-------------------------------------------------+-------------------------
Reporter: swissspidy | Owner: helen
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.1
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-screenshots add-to-field-guide | Focuses:
needs-user-docs |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-screenshots add-to-field-guide needs-user-docs
=> has-screenshots add-to-field-guide needs-user-docs
* status: closed => reopened
* resolution: fixed =>
Comment:
While looking through new providers for 6.1, I've noticed a couple of
things:
I can't see oembed meta tags for alternatives per the oembed.com spec in
any of the URLs. I've viewed the source of:
* the user editing URL
`https://datastudio.google.com/u/0/reporting/1Lkg3k30dv3POg80rm3sQk06BVi9hqVES/page/1M`
* the sharing URL:
`https://datastudio.google.com/reporting/1Lkg3k30dv3POg80rm3sQk06BVi9hqVES/page/1M?s=iizT7ImiDGA`
* the embed URL:
`https://datastudio.google.com/embed/reporting/1Lkg3k30dv3POg80rm3sQk06BVi9hqVES/page/1M`
(These links are all for the sample report on the embed docs)
----
If I am mistaken about the missing meta tags then I think the URL
structure is incorrect in [54129].
The `/u/0/` suggests a user editing URL and will only work with a users
first sign-in. It won't work with second or subsequent sign-ins as the URL
will contain `/u/1/` ... `/u/N/`. The current regex doesn't allow for
these logins
During a quick test, a share link is in the format
`https://datastudio.google.com/s/.+` although selecting to embed the demo
from the documentation shows the URL
`https://datastudio.google.com/embed/reporting/1Lkg3k30dv3POg80rm3sQk06BVi9hqVES/page/1M`
----
I'm going to reopen this for now so the service can be confirmed as spec
complient and the URL format verified.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55771#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list