How to embed a custom media player in facebook history (js / firame)?

We created a custom media player ( https://acorn.athena.ai/ ), which we want to embed directly in the history of facebook. Our implementation currently works through an iframe, as our player is fully JS / CSS / HTML.

Is there any way to embed an iframe?

Looking at some Open Graph documents in the video ( https://developers.facebook.com/docs/opengraph/property-types/#video ), it looks like custom video players in flash memory can be loaded (by specifying og:video:type like application/x-shockwave-flash ), but it says nothing about user players without flash memory.

+4
source share
1 answer

You're right, you need to add the og: video meta-attributes, but you can specify it the way you want - it does not need to blink :)

Take a look at this: https://developers.facebook.com/docs/opengraph/creating-custom-stories#propertytypes-video . This gives you an example of what you need.

Like they also write, then also import it to add og:video:secure_url for users who use facebook on HTTPS.

For your situation, I would just point the video to the html page where you have the video, and then specify the type as text / html.

Like this example, taking from the above link:

 <meta property="og:video" content="https://secure.example.com/awesome-framed.html"> <meta property="og:video:type" content="text/html"> 
0
source

All Articles