8
votes

Thanks for reading my question

I've googled enough to die, to find how to embed custom HTML5 Player on Facebook post. I've seen Youtube, Soundcloud, (and recently Sketchfab).. links when share on Facebook, it will be transformed into HTML5 player. I knew how to embed custom Flash player, but it's really hard to embed custom HTML5 player.

I've tried to use all OG tag they (Youtube, Sketchfab) used, I bought SSL certificate to have HTTPS url, ... but when share on Facebook, my link won't transform to HTML5 player...

Maybe only selected companies can use this feature?

Thanks a lot

1
They are testing it. When it becomes available for everyone it will be announced on developers.facebook.comWizKid
@WizKid Thanks, is there any source for this? Actually, I've embed html5 successfully 2 weeks ago, but cannot do again on next day. Seems they opened for 1 day then closedMartin Pham
If you search developers.facebook.com it is not documented there. And I work at FacebookWizKid
“Actually, I've embed html5 successfully 2 weeks ago” – I seriously doubt that …CBroe
No. We will post on developers.facebook.com when it becomes availableWizKid

1 Answers

0
votes

Facebook doesn't allow this at present, and for good reason. If it were opened up to developers it would likely be a cross-site scripting nightmare. They've likely written parsers in-house to do this themselves. You could probably do hinting for things like what image should be displayed on an article, but as for embedding anything (running Javascript on top of Facebook), good luck without something like a custom Chrome extension.