|
Post by Eton Bones on Mar 16, 2008 15:22:16 GMT -5
[bg=mistyrose]NoteAddons are small code snippets that modify the video definitions of the Any Video in Post ( AViP) hack in order to define a new type of video or patch an existing one. Because of this, addon codes need to go in the header below the header portion of the AViP code. |
Addon Code:<script> /* AVIP Addon:GoFish (global header below AVIP header code) - Eton Bones*/ if(window['vidType']){ vidType['GoFish']={}; vidType['GoFish'].prefix='http://www.gofish.com/player/GFPlayer.swf?svr=www.gofish.com&loc=external&cgfid=%video%'; vidType['GoFish'].preprocess=function(vType,vURI){var vgfid='';if(vURI.match(/\bvideoGfid=([^&]+)/i)){vgfid='&vgfid='+RegExp.$1} if(vURI.match(/\bgfid=([^&]+)/i)){caller[caller.length-1].arguments[2]=RegExp.$1+vgfid;}}; vidType['GoFish'].params={flashvars:_getFlashVars,swliveconnect:true,name:'GFPlayerID'} } </script> [Agent:2]
|
|