View Single Post
  #1  
Old 12th May 2009, 10:01
Bobocop Bobocop is offline
Member
 
Join Date: May 2009
P2P
Posts: 1
Default Can someone help with video scrip ?
I wanted to use the Youtube hack by locutius (or any hack that will work) to place video samples on the Torrent comments
but i don't want to use video's from Youtube, i would like to use video's from my video site. this way i can control the quality of the samples (Youtube video is poor quality to use as torrent samples)

My Video site is here -->clip
can someone please help me with the code so it will grab video's from my site instead of youtube ?

here is the code from the hack.
Code:
// YouTube Vids
    $content = preg_replace("/\[video=[^\s'\"<>]*youtube.*.*v=([^\s'\"<>]+)\]/ims", "<object width=\"500\" height=\"410\"><param name=\"movie\" value=\"http://www.youtube.com/v/\\1\"></param><embed src=\"http://www.youtube.com/v/\\1\" type=\"application/x-shockwave-flash\" width=\"500\" height=\"410\"></embed></object>", $content);
    // Google Vids
    $content = preg_replace("/\[video=[^\s'\"<>]*video.google.*.*docid=(-?[0-9]+).*\]/ims", "<embed style=\"width:500px; height:410px;\" id=\"VideoPlayback\" align=\"middle\" type=\"application/x-shockwave-flash\" src=\"http://video.google.com/googleplayer.swf?docId=\\1\" allowScriptAccess=\"sameDomain\" quality=\"best\" bgcolor=\"#ffffff\" scale=\"noScale\" wmode=\"window\" salign=\"TL\" FlashVars=\"playerMode=embedded\"> </embed>", $content);

Last edited by Bobocop; 12th May 2009 at 10:07. Reason: Made a mistake
Reply With Quote