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 .
Download Source Update: I have updated the script for 2 reasons
- Youtube deny if you call the url with file_get_contents() which is replaced with a curl function. So it needs curl now.
- 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.