how do i get the thumbnail of a video form a video server like YouTube.com

Are the videos from another server?(e.g. Youtube).

if yes then use file_get_contents(),couple it with some regular expressions then you can get the file name of the thumbnail.

if no then you can use ffmpeg to capture screenshots from videos from your server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.