diff --git a/metatag_opengraph/metatag_opengraph.metatag.inc b/metatag_opengraph/metatag_opengraph.metatag.inc index e987554..c16b09d 100644 --- a/metatag_opengraph/metatag_opengraph.metatag.inc +++ b/metatag_opengraph/metatag_opengraph.metatag.inc @@ -131,6 +131,56 @@ function metatag_opengraph_metatag_info() { ), ); + $info['tags']['og:video'] = array( + 'label' => t('Open Graph Video'), + 'description' => t('A URL to a video file that complements this object.'), + 'class' => 'DrupalTextMetaTag', + 'group' => 'open-graph', + 'element' => array( + '#theme' => 'metatag_opengraph', + ), + ); + + $info['tags']['og:video:secure_url'] = array( + 'label' => t('Open Graph Video Secure'), + 'description' => t('A URL to a video file that complements this object using the HTTPS protocol.'), + 'class' => 'DrupalTextMetaTag', + 'group' => 'open-graph', + 'element' => array( + '#theme' => 'metatag_opengraph', + ), + ); + + $info['tags']['og:video:width'] = array( + 'label' => t('Open Graph Video Width'), + 'description' => t('The width of the video.'), + 'class' => 'DrupalTextMetaTag', + 'group' => 'open-graph', + 'element' => array( + '#theme' => 'metatag_opengraph', + ), + ); + + $info['tags']['og:video:height'] = array( + 'label' => t('Open Graph Video Height'), + 'description' => t('The height of the video.'), + 'class' => 'DrupalTextMetaTag', + 'group' => 'open-graph', + 'element' => array( + '#theme' => 'metatag_opengraph', + ), + ); + + $info['tags']['og:video:type'] = array( + 'label' => t('Open Graph Video Type'), + 'description' => t('The type of the video file. There are two valid types: "application/x-shockwave-flash" - specifying this will allow us to to play the video in the feed; "text/html" - we just link out to the URL in og:video if this type is specified.'), + 'class' => 'DrupalTextMetaTag', + 'group' => 'open-graph', + 'element' => array( + '#theme' => 'metatag_opengraph', + ), + ); + $info['tags']['fb:admins'] = array( 'label' => t('Facebook Admins'), 'description' => t('A comma-separated list of Facebook user IDs of people who are considered administrators or moderators of this page. Most sites will only need to assign this on the global settings page.'),