Is there a way to make a video on my site playable on social media when link is shared?

For example when you share a link from YouTube it allows you to watch that video on that social media.

This is on my to do list. I haven’t tackled it yet (so take everything I say with a healthy dose of skepticism) but I think there is a way and I think I know the way…

On the page you want to share you can set the Page HTML Header using the box circled in yellow below. I believe you need to populate this field with the appropriate Open Graph markup.

Here’s some additional reading on Open Graph in general and on Open Graph video sharing.

In my screenshot I’ve got my page setup to share an link with a preview image. You may or may not be able to use any of these fields in conjunction with the Page HTML Header field (they make sharing links with preview images but may complicate sharing video content).

Once you have your page setup, copy the page link and plug it in here to see if it works or not: Sharing Debugger - Meta for Developers

For some reason the < meta property=“og:video” content=“video_url”> doesn’t work. It’s not appearing when sharing the link to the page with the video on it.

Are you sure it’s that metadata tag that’s causing the issue?

I think you need all the metadata tags (looks like there are 11 shown in the Oracle example) to be correct.

Try posting screenshots of your complete Page HTML Header field and the corresponding FB Sharing Debugger output - you’ll likely get more helpful responses if you include that info.

Screenshot 2020-12-11 193534

This screenshot shows the the video isn’t showing up.

The fb:app_id is on the global header.

The metadata looks good to me relative to the Oracle doc.

It would be helpful to see what the FB Sharing Debugger says. You’ve posted a FB screenshot but the debugger is better. It not only shows you a preview (essentially what you’ve screenshotted) but also provides error messages.

That second shot is of the debugger, it’s not very helpful in finding what I’m doing wrong, if technically everything I’m doing is right according to the code.

If you’re not getting any errors at the top of the debugger that look like this then I don’t know what to tell you…

Well thanks for trying, the results however were not what I wanted, more research will be needed.

Hopefully others can chime in with some advice.

If you make any progress please update this thread. As mentioned, this is on my to do list so I hope you’re successful.

Me too, I’ll be sure to update you with any success.

I still haven’t been able to find a solution for this, I think I might be wording it wrong, but I can’t find anything about it. So I’m going to try again here, I’m looking for a solution for an issue I’m having, I want to be able to embed a video in a link and when that link is shared the video popups instead of an image, something link YouTube does it on Facebook instead of a still image it pops up with a playable video.

This topic was automatically closed after 70 days. New replies are no longer allowed.