Early Access

Open Graph Meta Tags

og:video:type

Learn how to use the og:video:type meta tag to improve your site.

Specifies the MIME type of the video referenced in the og:video tag for defining rich object in social graphs, particularly useful for ensuring correct video playback on social platforms.

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" />

Code Examples

<meta property="og:video:type" content="video/mp4" />
Specifies the video format as MP4, ensuring wide compatibility.
<meta property="og:video:type" content="video/webm" />
Uses the WebM format for high-quality video in supported browsers and platforms.
<meta property="og:video:type" content="application/pdf" />
Incorrectly specifies a non-video MIME type, leading to potential playback issues.
<meta property="og:video:type" content="" />
Leaving the og:video:type property empty can result in undefined behavior across platforms.

Recommendations

  • Opt for widely supported formats
    Using widely supported video formats like MP4 ensures broader compatibility across social platforms.
  • Consider browser compatibility
    Check the video format support across different browsers to ensure a seamless user experience.

Related Documentation

Related Meta Tags

Defines the MIME type of the audio content referenced in the og:audio tag, ensuring platforms like Facebook understand how to process the linked audio file.

<meta property="og:audio:type" content="audio/mpeg">
Indicates an MP3 audio file, which is widely supported and commonly used for music files.

A secure URL to an audio file to accompany your object within the Graph. Used when the standard og:audio tag URL does not support SSL.

<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
A valid, secure URL to an MP3 file that is optimized for web usage and has broad format support.

og:audio

property

Defines the audio content that will accompany your page when it is shared on social media platforms that support Open Graph.

<meta property="og:audio" content="http://example.com/birdsong.mp3">
Specifies an accessible MP3 audio file on a public server, which can be easily retrieved and played by the implementing social platform.

og:audio:url

property

Specifies the URL of the audio content to be used as a rich object in a social graph. It is meant for integrating audio content that represents the page or is closely related to the content of the page, enhancing its representation on social media platforms.

<meta property="og:audio:url" content="https://example.com/audio.mp3">
Specifies a direct URL to an MP3 file representing the audio content associated with the page.

Defines the description of your content as you want it to appear when shared on social platforms like Facebook, LinkedIn, and others that adhere to the Open Graph protocol.

<meta property="og:description" content="Discover the top 10 SEO strategies to boost your website's traffic in 2023. Click to learn more!">
This is concise, actionable, and provides a clear benefit, encouraging users to click through.