|
Post by Eton Bones on Mar 19, 2008 14:25:09 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:MSN UBBC:[ video=MSN]http://video.msn.com/video.aspx?mkt=en-US&brand=&vid=b9600930-89c9-41cd-aaba-db2514d4292b[/video] How to insert video: Click the video link option in the metadata panel and copy the link. That is the video identifier. Note: - The embed video button must also be enabled else the video will come up as not found.
- The metadata panel is where it allows you to rate the video as well as offer options to digg, email, etc.
Addon Code:<script> /* AVIP Addon:MSN (global header below AVIP header code) - Eton Bones*/ if(window['vidType']){ vidType['MSN']={}; vidType['MSN'].prefix='http://images.video.msn.com/flash/soapbox1_1.swf?c=v&v=%video%&ifs=true&fr=msnvideo&mkt=en-US&brand=' vidType['MSN'].preprocess=function(vType,vURI){if(vURI.match(/vid=([^&]+)/))caller[caller.length-1].arguments[2]=RegExp.$1} vidType['MSN'].params={flashvars:_getFlashVars,base:"http://images.video.msn.com"} vidType['MSN'].postprocess= function(ret){return ret+'<br><a href="http://video.msn.com/StreamingUrl.aspx?vid='+caller[caller.length-1].arguments[2]+'&t=.flv">download this video</a>'} } </script> [Agent:2]
|
|