Embedding HTML5 content into Facebook wall posts?

后端 未结 3 902
后悔当初
后悔当初 2020-12-30 14:17

I have managed to get a custom SWF embedded in Facebook wall posts. This can be done by adding special meta tags to the source code of the linked page. For example the respe

相关标签:
3条回答
  • 2020-12-30 14:29

    I think this is possible now:

    http://developers.facebook.com/docs/opengraph/

    Check the lower part of the page. Just as in the HTML5 tag, you can define various sources now, starting with Flash Player and falling back to MP4 and so on. You'll lose the customized appearance, but at least the video will play.

    0 讨论(0)
  • 2020-12-30 14:33

    Sorry, but there's currently no API to achieve what you suggest. HTML5 is a standard we're committed to though, so I wouldn't rule out this feature possibly being added in the future.

    0 讨论(0)
  • 2020-12-30 14:43

    you can enable using this!

    <meta http-equiv="Cache-control" content="no-cache">
    <meta property="og:type" content="video/mp4" />
    <meta property="og:video:height" content="260" /> 
    <meta property="og:video:width" content="520" /> 
    <meta property="og:video:type" content="video/mp4" />
    <meta property="og:title" content="<?php echo $vtitle ?>" /> 
    <meta property="og:description" content="<?php echo $vdis ?>" />
    <meta property="og:image" content="<?php echo $vpic ?>" />
    <meta property="og:video" content="<?php echo $vlink ?>" />" 
    

    how ever it is required you also have a standered ssl on your website to post on facebook wall, with flash or html5.

    0 讨论(0)
提交回复
热议问题