Video playlist javascript

Hi guys,

I know this is probably really simple to do because it’s everywhere, but I can’t seem to find a good tutorial for how to actually execute this.

I’m trying to replicate a video playlist like the one they have on ( or where there are thumbnails and then an area where a video loads (depending on which one the user selects).

Could anyone please show me how this is accomplished? I did a lot of googling, but nothing so far has really given me a good tutorial.