Added code to display video thumbnails