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
<iframe src="/MyWebApplication/TestServlet"></iframe>
this is i am only caling the servlet in iframe
the follwing is my servlet code