WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Comments: Embed block not rendering

Open JavonDavis opened this issue 5 years ago • 1 comments

Expected behavior

Embed block to render youtube preview

Actual behavior

Block did not render

Steps to reproduce the behavior

  1. Create a comment on a post
  2. add an embed block
  3. use url http://www.youtube.com/watch?v=dQw4w9WgXcQ
  4. view comment from Android
Screenshot 2020-08-21 at 4 08 23 PM

HTML content for comment:

<!-- wp:core-embed/youtube {"url":"http://www.youtube.com/watch?v=dQw4w9WgXcQ","type":"rich","providerNameSlug":"","className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
<figure class="wp-block-embed-youtube wp-block-embed is-type-rich wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
http://www.youtube.com/watch?v=dQw4w9WgXcQ
</div></figure>
<!-- /wp:core-embed/youtube -->

Post: https://testingblocks231341132.wordpress.com/2020/08/21/testing-post/

JavonDavis avatar Aug 21 '20 21:08 JavonDavis

This is still an issue in 20.6-rc-2, though it's being handled a bit more gracefully. Currently, if a YouTube embed it added in a comment, the Comments List preview for that comment reads "Unable to show this comment".

Unfortunately, after tapping the comment to view it in full, it still states "Unable to show this comment".

thehenrybyrd avatar Aug 31 '22 08:08 thehenrybyrd

Closing in favor of https://github.com/wordpress-mobile/WordPress-Android/issues/17416, as discussed in this internal post: pdcxQM-1v4-p2

thehenrybyrd avatar Nov 03 '22 12:11 thehenrybyrd