Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author George Notaras

    (@gnotaras)

    Hello Noorhackim,

    Thank you for your feedback about facebook, but I need more information. Are you talking about local video attachments or embedded videos, such as youtube, vimeo etc?

    You are right about og:video:secure_url. This will be fixed in 2.7.0.

    I just tried twitter player cards for local videos and for youtube and it is rendered OK. Player card for local videos will not render, if your web site is not accessible over HTTPS.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Please note that og:video:secure_url for local media can only be added if the web site is accessible over HTTPS.

    Thread Starter noorhackim

    (@noorhackim)

    Hey George!

    I used embed video from youtube, I didn’t used local video!

    About player card, my twitter card is always summary, I don’t know why is that so, I’ve already check auto generate twitter card in setting. just take a look my test site here

    Thread Starter noorhackim

    (@noorhackim)

    Plugin Author George Notaras

    (@gnotaras)

    Unfortunately the plugin cannot detect the type of post. The type of card is controlled by the post format which is user-defined. For player twitter card the post format has to be either audio or video. If your theme does not support post formats, it is very easy to do so. Please let me know so I can help with that.

    Thread Starter noorhackim

    (@noorhackim)

    I think my theme didn’t support post format!

    there is no post format option in post editor.

    Plugin Author George Notaras

    (@gnotaras)

    OK, here you go:

    Add something like the following in the functions.php file of the theme, inside the THEME_NAME_setup() function:

    add_theme_support( 'post-formats', array(
      'aside', 'image', 'video', 'audio', 'quote', 'link', 'gallery',
    ) );

    Then in the post editing screen there will be a section where the post format can be selected.

    Please, see more info here: https://codex.www.ads-software.com/Post_Formats#Adding_Theme_Support

    Hope this helps,
    George

    Thread Starter noorhackim

    (@noorhackim)

    That’s work!

    Thanks for help.

    Plugin Author George Notaras

    (@gnotaras)

    Also, setting the post format to image, the generated twitter card is the summary_large_image one. But in a future version I’ll add an option to make summary_large_image the default one, but it might take 1-2 weeks.

    Thread Starter noorhackim

    (@noorhackim)

    Hello again George!

    I think there are few things that should be fixed if using og video in VIDEO POST FORMAT!

    first replace this article:published_time with this video:release_date

    second replace this article:tag with this video:tag

    third remove or replace this article:modified_time with this og:updated_time

    and last remove this article:author , article:publisher , article:section

    Plugin Author George Notaras

    (@gnotaras)

    Hello Noorhackim and thanks for your suggestions!

    2.7.0 will have updated Opengraph metadata. Until recently only the ‘article’ og:type was supported by the plugin, but recently og:type=video.other is supported as well. All of the above will be implemented.

    Thanks!

    Plugin Author George Notaras

    (@gnotaras)

    Just released 2.7.0. Thanks for all your feedback!

    secure_url is set for embedded media. not yet for local media.

    Your suggestions about the video object have been implemented. Please let me know if works as expected.

    Thread Starter noorhackim

    (@noorhackim)

    Still had issue, not playable streamly on youtube,

    I think that because og:video is generated as HTTPS, It sould be HTTP I guess.

    I found all websites that have streamly playable content on facebook are using HTTP for that tag. HTTPS only for og:video:secure_url. such as buzzfeed and even youtube itself.

    But that just I assume, I didn’t tried it yet.

    I didn’t know how to force url HTTPS to HTTP or else

    Plugin Author George Notaras

    (@gnotaras)

    I don’t think this is the case. I suspect that facebook needs a different url for the video. Problem is that twitter player card don’t seem to work with other url. I’ll do some testing later and see what I can do. This can definitely be fixed.

    Also I noticed that the video page on buzzfeed uses the og:type article. Can you try by setting the post format to standard and check sharing on facebook?

    Plugin Author George Notaras

    (@gnotaras)

    The problem was the youtube player URL. This is now fixed in 2.7.1. Both Facebook and Twitter should stream youtube videos just fine.

    These changes are final for now.

    Thanks for your feedback!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Open Graph for video’ is closed to new replies.