Automatically adding Opengraph video tag if a video is embedded in post

I have a post with an embedded youtube video that I wanted to share on Facebook. It would be great if the og:video meta tag was set by Discourse when it detects a video in the post so that Facebook picks it up and displays it.

For those with experience, would it be that difficult to implement?

7 Likes

Has anyone else run into this issue?

1 Like

It is a good idea, particularly if the post / topic has no images to grab.

3 Likes