Title: Open Graph for video
Last modified: August 22, 2016

---

# Open Graph for video

 *  Resolved [noorhackim](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/)
 * Hey George!
 * I found the open graph for video didn’t work perfectly.
    The video isn’t playable
   streamly in Facebook. and I tried to debug url, it happen because there is no`
   og:video:secure_url` .
 * And Player card for twitter didn’t rendered.
 * How to fix that?
 * [https://wordpress.org/plugins/add-meta-tags/](https://wordpress.org/plugins/add-meta-tags/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/open-graph-for-video/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/open-graph-for-video/page/2/?output_format=md)

 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855755)
 * 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](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855759)
 * 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](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855766)
 * 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 [](http://lahdalah.com/hello-world/)
 *  Thread Starter [noorhackim](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855767)
 * [http://lahdalah.com/hello-world](http://lahdalah.com/hello-world/)
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855771)
 * 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](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855772)
 * I think my theme didn’t support post format!
 * there is no post format option in post editor.
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855773)
 * 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: [http://codex.wordpress.org/Post_Formats#Adding_Theme_Support](http://codex.wordpress.org/Post_Formats#Adding_Theme_Support)
 * Hope this helps,
    George
 *  Thread Starter [noorhackim](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855777)
 * That’s work!
 * Thanks for help.
 *  Plugin Author [George Notaras](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855783)
 * 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](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855822)
 * 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](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855838)
 * 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](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855844)
 * 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](https://wordpress.org/support/users/noorhackim/)
 * (@noorhackim)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855855)
 * 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](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855871)
 * 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](https://wordpress.org/support/users/gnotaras/)
 * (@gnotaras)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/#post-5855877)
 * 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)

1 [2](https://wordpress.org/support/topic/open-graph-for-video/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/open-graph-for-video/page/2/?output_format=md)

The topic ‘Open Graph for video’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-meta-tags.svg)
 * [Add Meta Tags](https://wordpress.org/plugins/add-meta-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-meta-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-meta-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/add-meta-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-meta-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-meta-tags/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [noorhackim](https://wordpress.org/support/users/noorhackim/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/open-graph-for-video/page/2/#post-5855888)
 * Status: resolved