<?php

/**
 * @file
 *
 */

function incubator_video_metatag_config_default() {
  $config = new stdClass();
  $config->disabled = FALSE; /* Edit this to true to make a default config disabled initially */
  $config->api_version = 1;
  $config->instance = 'node:video';
  $config->config = array(
    'image_src' => array(
      'value' => '[node:field_media:image]',
    ),
    'og:image' => array(
      'value' => '[node:field_media:image]',
    ),
    'og:image:secure_url' => array(
      'value' => '[node:field_media:https-image]',
    ),
    'og:video' => array(
      'value' => '[node:field_media:url]',
    ),
    'twitter:card' => array(
      'value' => 'player',
    ),
    'twitter:image' => array(
      'value' => '[node:field_media:image]',
    ),
    'twitter:player' => array(
      'value' => '[node:field_media:https-url]',
    ),
    'twitter:player:width' => array(
      'value' => '[node:field_media:width]',
    ),
    'twitter:player:height' => array(
      'value' => '[node:field_media:height]',
    ),
  );

  $configs[$config->instance] = $config;
  
  return $configs;
}
