• Has another user failed to fulfill their side of a transaction?

    Please open a support ticket for assistance. You may also review our Exchange Policy.

FP$250 to update the youtube phproxy plugin

Status
Not open for further replies.

post2vps

Resident
Joined
Apr 11, 2012
Messages
662
Reaction score
36
FP$
3,183
the youtube plugin for phproxy was made on a forum: http://proxy.org/forum/proxy-webmasters ... proxy.html but it has not been updated by its op in 5 years so i am looking for someone to update the code with the you-tube updates.

this is the code they posted:

Code:
if (($_url_parts['host'] == "youtube.com") || ($_url_parts['host'] == "www.youtube.com"))
{
      preg_match('/fullscreenUrl\s\=\s(.*)\&sk\=/', $_response_body, $matches);
      preg_match('/video\_id\=(.*)/',$matches[1],$matches);
      $file = base64_encode('http://youtube.com/get_video?video_id='.$matches[1]);
      $link = $_script_base'?q='.$file;
      $s[] = '/var v = "7";(.*?)player_div\);/is';
      $r[] = '';

      $s[] = '#\/\/ \<\!\[(.*?)\/\/ \]\]\>#is';
      $r[] = "
      var p = new SWFObject('{$_script_base}mediaplayer.swf','single','450','370','7');
      p.addParam('allowfullscreen','true');
      p.addVariable('file','$link');
      p.addVariable('backcolor','0x000000');
      p.addVariable('frontcolor','0xCCCCCC');
      p.addVariable('lightcolor','0x996600');
      p.addVariable('overstretch','true');
      p.addVariable('type','flv');
      p.addVariable('volume','50');
      p.write('playerDiv');";
      $_response_body = preg_replace( $s, $r, $_response_body );
}


i want the code updated to work on current YouTube update.
the reward is FP$250
 
I'm moving this to a more appropriate forum. The Marketplace only involves real money transactions. 🙂
 
Status
Not open for further replies.
Back
Top Bottom