Posts Tagged ‘code’


08

Mar

jQuery 1.7 released!

POSTED March 8th, 2009 by James in Web Development | No Comments »

jquery-logo

jQuery UI 1.7 was recently released.  The new release features jQuery 1.3 compatibility, a better core architecture, and major theming improvements, including a new progress bar plugin.

In addition to this, it looks as if every plugin developed for it has been optimized to produce a better HTML output for a more flexible usage, a good thing for designers.

jQuery 1.7 comes with a new CSS framework that supports both jQuery UI plugins & any custom one to be developed Rather than the layout, the framework is concentrated on the UI design.

Tags: , ,

25

Aug

Embedding high resolution YouTube videos

POSTED August 25th, 2008 by James in Web Design | 1 Comment »

A lot of people realize that YouTube now features the option to watch certain videos in high resolution, but what a lot of people don’t know if that you can modify the embed code used for YouTube movies so that they will play back in high resolution as well. For instance, take this embed code for example:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/TQc5d-A6×3E"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/TQc5d-A6×3E" type="/x-shockwave-flash" wmode="transparent" width="425″ height="344″></embed></object>

If you add the following code to the value url and embed src, it will display the video in high resolution…

&ap=%2526fmt%3D18

Once added, the code looks something like this…

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/TQc5d-A6×3E&ap=%2526fmt%3D18"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/TQc5d-A6×3E&ap=%2526fmt%3D1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="344"></embed></object>

Heres an example of it in action on one of my animations…

This is a very nifty find for people who post a lot of video blogs, podcasts, and such.

Tags: , , ,