You are here

OgVideo.php in Metatag 8

File

metatag_open_graph/src/Plugin/metatag/Tag/OgVideo.php
View source
<?php

namespace Drupal\metatag_open_graph\Plugin\metatag\Tag;

use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase;

/**
 * Provides a plugin for the 'og:video' meta tag.
 *
 * @MetatagTag(
 *   id = "og_video",
 *   label = @Translation("Video URL"),
 *   description = @Translation("The URL of an video which should represent the content. For best results use a source that is at least 1200 x 630 pixels in size, but at least 600 x 316 pixels is a recommended minimum. Object types supported include video.episode, video.movie, video.other, and video.tv_show."),
 *   name = "og:video",
 *   group = "open_graph",
 *   weight = 9,
 *   type = "video",
 *   secure = FALSE,
 *   multiple = TRUE,
 *   absolute_url = TRUE
 * )
 */
class OgVideo extends MetaPropertyBase {

}

Classes

Namesort descending Description
OgVideo Provides a plugin for the 'og:video' meta tag.