This script is A modified version of Phproxy script, which can display youtube videos.
The Script includes the necessary modificaions for displaying youtube videos, and also includes the player.
Just unpack on your remote server and it’s ready to use. Requires PHP 4 and above.
The file is available to download from Google Code