Skip to content

Instantly share code, notes, and snippets.

@sjain882
Forked from Clybius/index.html
Created May 1, 2024 17:00
Show Gist options
  • Save sjain882/53a04a711fd30faf0099f2b20824d76a to your computer and use it in GitHub Desktop.
Save sjain882/53a04a711fd30faf0099f2b20824d76a to your computer and use it in GitHub Desktop.
Embed AV1/No File Size Capped Videos in Discord
<head>
<meta property="og:image" content="GifToEmbedURL"> # Change the content to the link of a gif of your choice, which will be shown as the embed.
<meta property="og:type" content="video.other">
<meta property="og:video:url" content="VideoToEmbedURL"> # Change the content to the link of a video of your choice. Will work with videos over 50 MB, and even unsupported codecs such as AV1!
<meta property="og:video:width" content="1920"> # Set this to the video's width and height, not required, but will show the video as intended if the aspect ratio and size is correct.
<meta property="og:video:height" content="1080">
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment