Early Access

Open Graph Meta Tags

og:video:width

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

Specifies the width of the video in pixels that is to be used when the page is shared on social media platforms that support Open Graph.

Code Examples

<meta property="og:video:width" content="1920" />
Sets the "og:video:width" property to 1920 pixels, suitable for high-resolution displays and ensuring the video appears clearly on most shared platforms.
<meta property="og:video:width" content="1280" />
Using a width of 1280 pixels caters to a wide audience while balancing performance and quality.
<meta property="og:video:width" content="640" />
A width of 640 pixels may make the video appear lower quality or too small on high-resolution screens, potentially impacting viewer engagement and perception.
<meta property="og:video:width" content="5000" />
Specifying an excessively large width such as 5000 pixels can result in unnecessary bandwidth consumption and may not be supported by all hosting platforms or devices.

Recommendations

  • Optimize for Most Common Resolutions
    Consider setting a width that aligns with common screen resolutions to ensure your video looks good on most devices.
  • Keep Aspect Ratio Consistent
    Ensure the specified width maintains the original aspect ratio of the video when combined with og:video:height to avoid awkward cropping or stretching.

Related Documentation

Related Meta Tags

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.

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.

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.

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.