|
Post by Eton Bones on Mar 9, 2008 23:07:32 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. |
Video Type: GT (Game Trailer) UBBC:[ video=GT]31616[/video] How to insert video: The video identifier can be found in the url http://www.gametrailers.com./player/31616.html |
or just use the entire url and the code will extract the part it needs. Addon Code:<script> /* AVIP Addon:Game Trailers (global header below AVIP header code) - Eton Bones*/ if(window['vidType']){ vidType['GT']={}; vidType['GT'].prefix='http://www.gametrailers.com/remote_wrap.php?mid=%video%'; vidType['GT'].description='Game Trailers'; vidType['GT'].example='http://etonbones.proboards100.com/index.cgi?board=examples&action=display&thread=31'; vidType['GT'].preprocess=function(vType,vURI){if(vURI.match(/([^/]+)\.html?/))caller[caller.length-1].arguments[2]=RegExp.$1}; } </script> [Agent:2]
|
|