Archive for 25th February 2008

Big Question: Resizing the player

Hi Kids -

This is Lauren; I’m a web developer on the Yahoo! Video team. Like a lot of you, I have a blog that consists of a blogger template where I mostly rant about stupid things. The thing is, you may have noticed that our embedded video player— the one you can grab and stick on your blog—is kinda big, because bigger is better when you’re watching video. But there are times when you might want to shrink it down. Luckily for you, our robots have already thought about this predicament and they wanted me to assure you that it’s SUPER easy to customize it to whatever size you want.

This is how it works: When you copy and paste the embed code from one of our videos, you’ll see some stuff like this:

grabberraster-0046-copy.jpg

You don’t need to get into the blood and guts of the gobbledygook above. The only thing that concerns you if you want to resize our player is the width and height settings; there are TWO SETS of width and height settings in our embed code (hi-lighted above). You’ll need to set them both and have them match for resizing to work properly.

Since blogger templates are usually 400 pixels wide, swap out the 512 width with 400. For the height, we suggest 335. If you want to embed a playlist, we suggest a width of 400 and a height of 500. You can tinker with the player and find the exact size you want; our new 16:9 cinema format will work great at an even wider size.

In the meantime, we’ll work on a less hacky solution for you.

Feel free to add me to your contacts on the site and I’ll do my best to help you out if you drop me a note. You can find some samples of embedded videos with custom sizes on my blogger template.

Happy hunting.

-Lauren, Yahoo! Video Team