YouTube Thumbnail URL

<aside> 💡 Using the thumbnail URL: when in a table view you can double click on the formula result to highlight it and then copy and paste that URL directly into a page or into a File & media property's Embed link field.

</aside>

Thumbnail URL

if(test(prop("Video URL"), "youtube.com/|youtu.be/"), "<https://img.youtube.com/vi/>" + if(contains(prop("Video URL"), "youtube"), replace(replace(prop("Video URL"), ".+?(v=)", ""), "&(.*)", ""), if(contains(prop("Video URL"), "youtu.be"), replace(replace(prop("Video URL"), ".+?(e/)", ""), "[?](.*)", ""), "")) + "/maxresdefault.jpg", "")

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" width="40px" /> By Ben • Latest • Was this helpful? Please consider buying me a coffee. Cheers!

</aside>