How can you change the image that appears when you embed your YouTube video?
10 second standard image can be anything and it's often horrible!
"I have my video and I am using YouTube to serve it as you suggested, but the image that shows on the video is of me pulling a funny face. What can I do now?"This is not YouTube's fault. They use a frame from 10 seconds into the video as the "still" that represents it on YouTube. So what you might see is something like this one: Which is just a random image rather than one that indicates what you want in your video. There are several things that you can do:
Steps to setting up an image to "face" you YouTube video:
Add the basic jquery library to your header (Google it if you don't know how). It's already on 30% of websites. Then put this jquery script in the header section of your page i.e. between <head> and </head>. Get the "iFrame" from teh embed section of YouTube and replace the iFrame in the example. Example js code - with a 720 x 440 video
If you read the script you will see that it is looking for a image called "player" to be clicked. It then inserts the YouTube iFrame instead of the image. Obviously you need to replace {YOUR_VIDEO_ID} with your real video ID. This will enable you to add an image and have it swap with the player when clicked. If you are a bit more advanced you can "unload" the player and put the image back once it has finished, but that's not really required. Example code - placing the image When you click on the image the video will now replace it. |

