
228 GOOGLE APPS HACKS
can use any image editing software; just create a new image le of the base size 425 x 355, and then
resize the image to a specic width—say, 500. Your image editor will now (usually) be able to adjust
the width accordingly, keeping proportions intact. In the case of a width of 500, the height would
now be 418, as shown in Figure 9-21.
Resizing an image in PaintShop Pro 4,
one of the many available picture editors
Next to the embed code at YouTube is a “customize” link to add different colors to the YouTube
player. You can also choose to have a border on the player. Here’s an example snippet to make an
orange interface, including a border, as shown in Figure 9-22 (relevant parameters are in bold):
<object width="425" height="373"><param name="movie" value="http://www.youtube.com/v/4xQ
ja0XMxfg&rel=1&color1=0xe1600f&color2=0xfebd01&border=1"></param><param
name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4xQja0XMxfg&am
p;rel=1&color1=0xe1600f&color2=0xfebd01&border=1" type="application/x-shockwave-
flash" wmode="transparent" width="425" height="373"></embed></object>
However, you can go beyond the color choices that YouTube presents to you in their customization
dialog. The parameters color1 and color2 are simply two parts of a gradient. The values, like
“0xe1600f,” are hexadecimal ...