How to make an image clickable so it actions a video pop-up

Hi all! I would like to try and build a video pop when you click an image like on this website:

I cannot for the life of me figure out how to do it. Can anybody help? Maybe it’s custom code?