B/W Rainbow

October 25, 2007

Play YouTube with FLV player of your choice

Filed under: general,PHP,tools — Palani raja @ 9:34 am
Tags: , ,

Not working anymore, but you are free to explore the code. Updates are welcome.

I have completed alternative way to view YouTube videos with FLV player of your choice (JW FLV player in this case). The flv files will not be download to the server, it streams directly from YouTube .

alt-utube1.jpg

Download Source

 Update:

I have updated the script for 2 reasons

  1. Youtube deny if you call the url with file_get_contents() which is replaced with a curl function. So it needs curl now.
  2. Youtube added more http headers and now the index for direct download link is 8 earlier it was 4.

I will update the script soon with the following features

  • No need of allow_url_fopen = on in php.ini
  • Curl dependency to be removed.
Advertisements

Create a free website or blog at WordPress.com.