Open Graph metadata

og:video:type

Provides the MIME type of the video resource declared by the preceding og:video property.

Parameters

video/mp4
Indicates the video is in MP4 format, widely supported across platforms.
<meta property="og:video:type" content="video/mp4">
video/ogg
Defines the video as OGG, a free, open container format.
<meta property="og:video:type" content="video/ogg">
video/webm
Specifies the video is in WebM format, designed for the web.
<meta property="og:video:type" content="video/webm">
export type Og:video:type =
     /**
   * Indicates the video is in MP4 format, widely supported across platforms.
  **/
    'video/mp4'
    /**
   * Defines the video as OGG, a free, open container format.
  **/
    'video/ogg'
    /**
   * Specifies the video is in WebM format, designed for the web.
  **/
    'video/webm'

Code examples

Good example
<meta property="og:video:type" content="video/mp4">
The registered media type for MP4 video.
Good example
<meta property="og:video:type" content="video/webm">
The registered media type for WebM video.
Avoid this example
<meta property="og:video:type" content="application/pdf">
A document media type does not describe the video resource.
Avoid this example
<meta property="og:video:type" content="">
An empty value is not a media type. Omit the optional property instead.

Recommendations

  • 01
    Match the Response
    Use the media type served for the video. A guessed or mismatched value can mislead consumers.
  • 02
    Use a Registered Type
    Choose the IANA media type for the video format.

Related documentation

Related meta tags

og:audio

property

Provides the URL of an audio file that accompanies the Open Graph object.

<meta property="og:audio" content="https://example.com/birdsong.mp3">
An absolute, public URL to the audio file.

Provides an alternate HTTPS URL for the audio declared by the preceding og:audio property.

<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
A valid HTTPS alternate for the audio resource.

Provides the MIME type of the audio resource declared by the preceding og:audio property.

<meta property="og:audio:type" content="audio/mpeg">
The registered media type for MP3 audio.

og:audio:url

property

An alias of og:audio. It provides the URL of an audio file that accompanies the object.

<meta property="og:audio:url" content="https://example.com/audio.mp3">
An absolute URL to the audio file.

Provides a one or two sentence description of the Open Graph object.

<meta property="og:description" content="A practical guide to choosing and caring for indoor plants in low-light rooms.">
Explains the subject in one specific sentence.