View Single Post
Old 02-23-2007, 06:01 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Jace View Post
smokey, you never cease to amaze me
its a handy tool , i will put it to good use ( i just coded that up on the fly from another script for something diff i had laying around )

this will take the ease out of posting videos


ps if you wanna be tricky and kinda hide the real video url if your hosting the files you can add this just below the replacement items in the js file

var stb5 = "-secretfolder-";


mpo = gfyt.search(stb5);
if(mpo != -1){
rkw = "realfolder";
gfyt = replace(gfyt,stb5,rkw);
}

then when you post a video using the code like this

stbvidw-www.mysite.com/-secretfolder-/vid1.wmv-ebtvid

it would actually change it to

<embed src=http://www.mysite.com/realfolder/vid1.wmv></embed>

notice the folder is different. the viewer wont actually be able to see the real url unless they dig into the js file to see how its done
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote