I expected to see the YouTube video itself in both the above scenarios. Perhaps a something instead of the video, like a YouTube icon or similar could also work.
Notice that the side panel doesn't display the YouTube video itself, you only see the shortcode itself (e.g. [youtube https://www.youtube.com/watch?v=fX8YLri4wxU])
| Scenario | Screenshot |
| - | - |
| Post notification 鈿狅笍 |
|
| Post comment notification 鈿狅笍 |
|
Firefox 79.0
See above
Hi folks!
Would this issue also cover the rendering in the notification emails?
We got a report from a user ( 3304752-zd-woothemes ) about YouTube videos no longer rendering in the email notifications:
Before:

After:

Please, let me know if you need me to create a new issue for this :)
馃憢 Hi @AtrumGeost, I think that this issue belongs on a separate (internal) repo, I'll DM you the link.
This applies to all shortcode blocks; updated the issue title.
I wonder if this can be fixed by running do_shortcode when getting the post content in Notification_Builder::add_post_block:
$post_content = do_blocks( $post->post_content );
$post_content = do_shortcode( post_content );
$post_content = apply_filters( 'the_content', $post_content );