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

Embed Preview not unfurling for some links #34676

Closed
kosiew opened this issue Sep 9, 2021 · 4 comments
Closed

Embed Preview not unfurling for some links #34676

kosiew opened this issue Sep 9, 2021 · 4 comments
Labels
[Block] Embed Affects the Embed Block Needs Testing Needs further testing to be confirmed.

Comments

@kosiew
Copy link

kosiew commented Sep 9, 2021

Description

Rich Preview is not working for some links eg
https://vietnamhoonist.com/2021/08/31/tong-hop-tin-tuc-thang-8-2021/,

For links like:
https://wp20180808.com/contact/
https://wp20180808.com/about/

We get a message that Sorry, this content could not be embedded.

Step-by-step reproduction instructions

  1. On the page editor, paste the link on a new line to a post. URL: https://vietnamhoonist.com/2021/08/31/tong-hop-tin-tuc-thang-8-2021/ It doesn't unfurl, but only shows a link that is embedded without any preview on the editor.
  2. When previewing the page, it doesn't show the preview of the post shared, it only shows a link.
  3. Shared another link from the same site on the editor, it unfurls and shows the preview.
  4. When previewing the page on the front end, it doesn't show the preview on the front end.
  5. Checked by pasting link from another blog (simple as well as an atomic site), it unfurls in the editor as well as on the front end.

Screenshots, screen recording, code snippet

131634569-e8797d6e-b862-4f4d-a5ff-4ffc83cc7238.mp4

Environment info

Operating System
Windows, macOS

Browser
Chrome/Chromium

WordPress 5.8

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@talldan talldan changed the title Rich Preview not unfurling for some links Embed Preview not unfurling for some links Sep 9, 2021
@talldan talldan added [Block] Embed Affects the Embed Block Needs Testing Needs further testing to be confirmed. labels Sep 9, 2021
@jpantani
Copy link

I noticed that those blog links point to WordPress.com hosted sites.
Do you have an example of a WP embed that doesn't work that is not WordPress.com based?
For example https://make.wordpress.org/core/2021/09/13/a-week-in-core-september-13-2021/ works.

@gwwar
Copy link
Contributor

gwwar commented Sep 13, 2021

I also see Make blog post links working. For the provided links noted in the issue, I see a 404 returned:

CleanShot 2021-09-13 at 16 00 32@2x

@kosiew
Copy link
Author

kosiew commented Sep 15, 2021

I tested with https://wpstore102.mystagingwebsite.com/test/ and it does embed correctly.

I will raise this with WordPress.com.

Thanks @jpantani, @gwwar for looking.

@gwwar
Copy link
Contributor

gwwar commented Sep 15, 2021

Thanks for double checking @kosiew ! I'm going to close this one for now, but let us know if there are other cases to look at.

@gwwar gwwar closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Embed Affects the Embed Block Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

No branches or pull requests

4 participants