开发者

og:video:height being ignored

I have the OG meta tags on my page and everything开发者_如何学编程 is working nicely. When people like the video on the page, the player is embedded in facebook. BUT it seems to be ignoring the og:video:height meta tag. The video is being displayed in facebook with a height of 259 rather than the og:video:height of 117 set int he page.

This seems to have only been an issue recently.

I also noticed that youtube videos embedded in facebook also have a height of 259. Is this a bug?


This appears to be an issue with facebook. The open graph way of specifying height isn't working for anyone right now. regardless of what is set, the height becomes 259. the only way i was able to get anything to post was via the graph api method using "expanded_height" and "expanded_width".

My site had 398X398 dimensions and we didn't change anything then all of the sudden our height was scaled down.

I was going mad for a while, but i'm fairly certain this is a bug with facebook's open graph implementation or an undocumented change.


Try using the following tags, as I am not sure the ones you are using are correct.

<meta name="og:video" content="blah"></meta>
<meta name="video_style" content="blah"></meta>
<meta name="video_height" content="blah"></meta>
<meta name="video_width" content="blah"></meta>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜