You read about the fmt=18 parameter to watch the higher quality .mp4 files at Youtube, but you don’t know how to “embed” these videos? Well, here is a valid “XHTML 1 Strict” code to put Youtube’s higher quality .mp4’s on your site:
PHP:
-
<object type="application/x-shockwave-flash" style="width: 450px; height: 400px;" data="***&ap=%2526fmt%3D18">
-
<param name="quality" value="best" />
-
<param name="wmode" value="transparent" />
-
<param name="movie" value="***&ap=%2526fmt%3D18" />
-
<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />
-
</object>
Just replace *** with the url of the Youtube file – not the url of the youtube page! If there is no Youtube .mp4 version available, it will display the lower quality version instead, no worries.
Youtube page: http://www.youtube.com/watch?v=EXAMPLE
Youtube file: http://www.youtube.com/v/EXAMPLE
It was easy to install in the first place, just two lines of code had to been added, but anyways, FancyZoom just got out as a wordpress plugin, thanks to Stephen Granade. You can download WP FancyZoom 1.0 (featuring FancyZoom 1.1) at Live Granades.
- Focused on the smoothest, most polished zooming animation possible
- Automatically scales images from any image link, with no HTML changes
- Preloads full-size images in the background on link mouseover
- No resource-heavy Javascript libraries — 100% coded from scratch to zoom
- Draws a nice drop shadow under the full-size image to offset it from the page
- Uses Safari 3's "box-shadow" feature to draw the drop shadow natively, no images required
- Tested and works with Safari, Firefox, IE7, and IE6. (Looks better in modern browsers.)
Click the image to see how it works:

After the upgrade to Safari 3.1 i was sniffing through the preferences and spotted “Show develop menu in menu bar” under the advanced tab. Not really a threat to Firebug, but there are interesting features in there.

Noticed the “Mobile Safari 1.3.1 - iPhone” user agent? Could come in handy i guess.
Next Page →