Youtube is banned in turkey. So i want to write a web application in j2ee via which people of turkey can sracrh /dowload and play youtube video. that is i want to devlop website similar tovideo75.com. I am uisng the following servlet. But what happens is that it doesnot stream the video as such. It only gets the player and one video screenshot to clint side. Then this player tries to download video from youtube.com. The moment the player tries to access youtube.com it gets blocked , as youtube is banned in turkey.So waht i want is that i want the whole video and other traffic to go through my site. I am currelyly using google data api to search youtube video. But whihile playing the player tries to get the data directly form youtube
How can i make the entire traffic go through my servre??
Currenly i am using a servlet. and one jsp
i have following line in jsp
this is i am only caling the servlet in iframe
You can't hijack the client machine's proxy settings like that just by doing something on the server.
Seems to me the simplest way to change the browser's proxy settings -- if the user indeed wants to do that -- would be to display an ordinary HTML page which tells the user what the settings are and how to configure them in their browser.
Joined: Aug 12, 2009
I think you misunderstood my question . I want to make a proxy server. Clint pc onccnet to my server .My server to youtube.
clintpc - my server - youtube
So here my srver is trying to download the video from youtube and trying to deliver it to clint in realtime