【问题标题】:Including the og:video tag on a product detail page在产品详细信息页面上包含 og:video 标签
【发布时间】:2012-08-05 17:36:24
【问题描述】:

我们正在尝试使用 og:video 标签和相关标记来为我们网站上通过 Facebook 共享的产品详细信息页面启用在 NewsFeed 中的视频播放。

例如,我们在这里实现了标签:

http://www.ice.com/product/bracelets/womens-silver-bracelet-prd_bsw_106235

并且正在使用:

<meta property="og:description" content="Refined and glamorous, this bangle bracelet is studded with sparkling yellow crystals. Crafted from stainless steel, this lovely piece offers a classic and elegant look for any occasion. Wear it alone or stack a few together for a unique look. - BSW_106235" />
<meta property="fb:page_id" content="144519415627" />
<meta property="og:url" content="http://www.ice.com/product/bracelets/womens-silver-bracelet-prd_bsw_106235" />
<meta property="og:image" content="http://images.ice.com/ice/product/images/BSW/BSW_106235_b_l-Stainless_Steel_and_L_Topaz_Bangle.jpg" />
<meta property="og:title" content="Yellow Crystal Stainless Steel Bangle - BSW_106235" />
<meta property="og:video" content="http://videos.treepodia.com/UA-ICE/BSW106235.mp4" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="360" />
<meta property="og:video:height" content="280" />
<meta property="og:type" content="website" />

当我在 Facebook 分享此产品详细信息页面的链接时,视频缩略图和在新闻源中播放视频的选项不可用。

我们是不是做错了什么?

谢谢,

戴夫

【问题讨论】:

    标签: video facebook-opengraph


    【解决方案1】:

    您的语法是正确的,我刚刚在我的 facebook 帐户中尝试过,它成功了 - 出现了预览图像并播放了视频。

    您可以通过您的网址here查看。

    请确保您通过 https 使用 facebook,否则不会播放任何外部内容。

    【讨论】:

    • 太棒了。谢谢你的帮助,简!
    猜你喜欢
    • 2022-08-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-02
    相关资源
    最近更新 更多