This is a two-step process:
1. Get a copy of the JW player SWF file and put in in the same directory as wp-config.php. Sometimes, it’s called player.swf, sometimes mediaplayer.swf, and even player-licensed.swf. It depends on which version of the JW Player you have.
2. Enter some of the embed code from YouTube to fill in video values
The code below can be used. Just enter the YouTube video embed code values in place of the colored values below. The part you will be entering are two “http://” values found in the <embed> code in YouTube. For your information, the first “http://” value is the location of the YouTube video on their server. The second “http:// value is the location of the thumbnail for the video on their server. Here, then, is the code:
<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”425″ height=”344″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”allowFullScreen” value=”true” /><param name=”allowScriptAccess” value=”always” /><param name=”src” value=”http://www.youtube.com/v/VTx-NZT9zEg&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1” /><param name=”allowfullscreen” value=”true” /><embed type=”application/x-shockwave-flash” width=”425″ height=”344″ src=”http://www.youtube.com/v/VTx-NZT9zEg&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1” allowscriptaccess=”always” allowfullscreen=”true”></embed></object>