So far we have created a page to display a single video by its ID. But how do we find our videos in the first place? You might also ask, why did we create thumbnails for our videos if we are not using them?
In this section, we are going to change our home page to display a video and the most recent videos that have been uploaded as well as add a list of related videos that will use the thumbnails.
Let's remind ourselves what our home page currently looks like by going to http://localhost:8888/videoshare/index.cfm:
It looks a bit boring, doesn't it? We should improve it by displaying the latest video which is ready to play, along with a list of thumbnails of all the latest videos. That should make it a lot more interesting.