|
Post by Eton Bones on Mar 9, 2008 22:03:31 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: Veoh UBBC:[ video=Veoh]v4881640tYDTJYGD[/video] How to insert video: The video identifier can be found in the url http://www.veoh.com/videos/v4881640tYDTJYGD |
or just use the entire url and the code will extract the part it needs. Addon Code:<script> /* AVIP Addon:Veoh (global header below AVIP header code) - Eton Bones*/ if(window['vidType']){ vidType['Veoh']={}; vidType['Veoh'].prefix='http://www.veoh.com/videodetails2.swf?permalinkId=%video%&id=anonymous&player=videodetailsembedded&videoAutoPlay=0'; vidType['Veoh'].example='http://etonbones.proboards100.com/index.cgi?action=display&board=examples&thread=30'; vidType['Veoh'].preprocess=function(vType,vURI){if(vURI.match(/videos\/([^/?&]+)/))caller[caller.length-1].arguments[2]=RegExp.$1}; } </script> [Agent:2]
|
|