开发者

Facebook videos and iPad compatibility

I am developing an iPad application using Facebook Query Language. We can get the list of videos of an user along with its meta data by querying the table "video". The meta data of the video are: video id, title, description, src, src_hq etc. Now, I want to play the Facebook video in my iPad using the URL given in the field src/src_hq.

  1. What is the difference between these two attributes?
  2. Do I get iPad compatible URL for all the videos. i.e. is it possible to play all the videos of Facebook in iPad includ开发者_高级运维ing old videos uploaded.

If not possible, could you please give the objective-C sample code that embeds the video in HTML.

Regards, Deepa


I'm pretty sure facebook videos are flv's and you'd need a flash player to play them. So to answer your question:

  1. The src/src_hq fields are described in the documentation. The src_hq one is higher quality, most likely for the full-page type view, while the src one is likely used in streams and so on.
  2. I doubt you will get a URL to a video that will work on the iPad. Probably not for new videos and probably not for 'old' videos either.

With that said -- try it! Query the table, get a video url, download it and see for yourself. Open it up in VLC or some-such and see what kind of video it is and get some details -- then post them here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜