I'm in the process of creating a website and need help finalizing my video page. I envision a layout similar to this example: https://i.stack.imgur.com/hctui.gif
The main feature should be a large video placeholder at the top, followed by several thumbnail images below.
When users click on one of the thumbnails, I want the corresponding video to load in the larger space above. While I am comfortable with HTML and CSS for the design aspect, I am unsure about the PHP or JavaScript needed to make this functionality work. What approach should I take? After searching online for a solution without success, I'm hesitant to rely on WordPress plugins for creating video galleries.
If anyone has any advice on how to achieve this, I would greatly appreciate it.
edit: Just to clarify, I will be embedding YouTube videos rather than hosting them myself.