Play YouTube with FLV player of your choice


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 .

assets/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


Post Comment