1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

youtube problem with glype

Discussion in 'Help and Support' started by neeraj_77, Jun 12, 2012.

  1. neeraj_77

    neeraj_77 New Member

    Joined:
    Aug 30, 2011
    Messages:
    36
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    India
    Home Page:
    Hi Friends,

    I have a youtube problems on my glype proxy site. I can view youtube but when i click on a video i found an error there, video not found or acces denied on the video (jwplayer)

    If anyone have Any ideas please suggest me.

    site is hidesurf.me

    Thank you
     
  2. Alex.Gabriel

    Alex.Gabriel New Member

    Joined:
    Oct 23, 2011
    Messages:
    86
    Likes Received:
    7
    Trophy Points:
    0
    Occupation:
    Linux system administrator
    Location:
    Italy
    Home Page:
    Script used by you transforms all the url's from a page from site.com to hidesurf.blabla so youtube player get's the video url as hidesurf.bla.bla.. link that does not exist .

    Here is a part of your code that actualy changes site code.

    Code:
    // Extract a base tag
    	 if ( (parser = /<base href(?==)=["']?([^"' >]+)['"]?(>|\/>|<\/base>)/i.exec(html)) ) {
    		  ginf.target.b = parser[1]; // Update base variable for future parsing
    		  if ( ginf.target.b.charAt(ginf.target.b.length-1) != '/' ) // Ensure trailing slash
    				ginf.target.b += '/'; 
    		  html = html.replace(parser[0],''); // Remove from document since we don't want the unproxied URL
    	 }
     
    Last edited: Jun 13, 2012

Share This Page