I want to be able to serve an iframe video player to the Facebook newsfeed & timeline.
I am aware that it is possible to specify multiple og:video:type properties for different video formats to appear within the newsfeed/timeline.
e.g. an implementation such as Share HTML5 player on Facebook wall
As of April last year I believe we also wouldn't need whitelisting, though some kind of whitelisting may be possible for a video type of text/html which isn't generally available.
If we were just serving free video within an iframe it would be quite easy to just grab the flash and mp4 components and include them within Open Graph tags.
However our player is a little more complex, serving content based upon login status, and that level of complexity is likely to increase.
Complexity?
Built in shopping cart - Reviews - Delivery of premium content - micropayments/tipjar
We have quite a flexible oembed implementation http://www.uqast.com/andy/video-seo?w=640&h=360&aplay=0&affid=0&links=2 Which can return quite clean embed code suitable for the timeline
http://www.uqast.com/services/oembed/?url=http%3A//www.uqast.com/andy/video-seo&w=640&h=360&aplay=0&affid=0&links=2&format=json
We can also quite happily serve the iframe from https if required.
We are also looking towards serving various kinds of HTML5 within the iframe... videos/docs/audio etc
So what procedure do you have to follow to be able to use text/html as a video type and have it whitelisted?
Note: I am the Product Manager for uqast.com
I realise this is an old question, but I noticed today (June 2014) that SoundCloud are now embedding an IFRAME HTML based player directly into the news feed.
Anyone else noticed this behaviour and how can they do it? Couldn't see anything in the OG tags about it
Thanks!
Its not currently possible to embed HTML5 content via an iframe in the Facebook News Feed. Only Flash objects or raw video files can be embedded through the og:video tag.
However, keep an eye on http://developers.facebook.com/blog for updates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With