javascript - Facebook Video Player API -
i'm trying developing web app involves taking user's facebook videos , allowing them create user/viewer interactivity. in order need sort of facebook player api similar ones youtube , other video servers offer (that offers eventlisteners, play pause, volume functions). not seem have 1 though , i've been looking around while.
ideally contact facebook , ask if it's possible couldn't find contact information.
the player basic, easy find:
it's linked every facebook video page on frontend of facebook.com:
and in graph api:
http https://graph.facebook.com/2031763147233:
{ "id": "2031763147233", "from": { "name": "facebook", "category": "product/service", "id": "20531316728" }, "name": "facebook video calling", "description": "bring conversations life on facebook. face-to-face video "embed_html": "<object width=\"400\" height=\"300\" ><param name=\"allowfullscreen\" value=\"true\" /><param name=\"movie\" value=\"http://www.facebook.com/v/2031763147233\" /><embed src=\"http://www.facebook.com/v/2031763147233\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" width=\"400\" height=\"300\"></embed></object>", //other fields ommitted
and in fql: select vid, title, embed_html video vid = 3902879808751
:
{ "data": [ { "vid": 3902879808751, "title": "facebook camera", "embed_html": "<object width=\"400\" height=\"224\" ><param name=\"allowfullscreen\" value=\"true\" /><param name=\"movie\" value=\"http://www.facebook.com/v/3902879808751\" /><embed src=\"http://www.facebook.com/v/3902879808751\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" width=\"400\" height=\"224\"></embed></object>" } ] }
Comments
Post a Comment