Click a preview image for YouTube clip opens a new windowwith YouTube vid inside

Hi Experts,

I'm storing YouTube embed code that's been copied and pasted from the video I want on YouTube. I'm storing the embed code in a database. What I want is a page that can show a bunch of thumbnail preview images of the videos I have stored in the db that when clicked *won't* start the video but *will* simply open a new window in which the embedded code will be pulled from the database and the video will display full size to watch.

I know how to do the latter, but the former of showing a preview thumbnail from the embed code is what I'm stuck on. Can anyone tell me how I can do this? Is it possible?


/ Tobzzz
LVL 11
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

One of the things I figured after so much pain.
Youtube has 3 auto generated thumbnails images for each video

For example if you're storing a youtube video link of:

Then the auto generated thumbails for youtube would be

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tobzzzAuthor Commented:
Oh wow, that simple (when you know!) Great, thanks. I don't suppose there are bigger versions stored are there?
Also the below will provide higher resolution but they're not documented in Youtubes API so I can't guarantee their reliability but I think they should work

Now you've got all the tricks for Youtube thumbnails :)
tobzzzAuthor Commented:
Perfect, remorina. Thank you very much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.