Post by Eton Bones on Feb 9, 2008 14:15:24 GMT -5
[bg=mistyrose] |
Video Type:DailyMotion
UBBC:[video=DailyMotion]x34oco[/video]
How to insert video: The part in red is the identifier for the video:
http://www.dailymotion.com/cluster/videogames/video/x34oco_heavenly-sword-trailer |
note:DailyMotion also has a beta player that incorporates a menu button offering much more features such as interpolation (video smoothing), bookmarking, etc. If the person viewing the video doesn't have the beta player set as their default player for daily motion then poster can add '&v3=1' to the end of the identifier which will let others view the video in the beta player instead of the standard player.
[bg=mistyrose]update:The beta player is now the default and you'll get it regardless of whether v3=1 is present. Also the new player now offers color customization! |
example: [video=DailyMotion]x34oco&v3=1[/video]
The code doesn't use the beta as the default player because it is after all beta and won't be available at some point in the future either because it was scrapped or it was made the default player for all dailymotion.com videos
[bg=mistyrose]The second video in this post should be disabled since maxVidsPerPost is set to 1 |
Addon Code:
<script>
/* AVIP Addon:DailyMotion (global header below AVIP header code) - Eton Bones*/
if(window['vidType']){
vidType['DailyMotion']={};
vidType['DailyMotion'].prefix='http://www.dailymotion.com/swf/%video%';
vidType['DailyMotion'].params={flashvars:_getFlashVars};
vidType['DailyMotion'].example='http://etonbones.proboards100.com/index.cgi?board=examples&action=display&thread=23';
vidType['DailyMotion'].preprocess=function(vType,vURI){if(vURI.match(/video\/([^_]+)/))caller[caller.length-1].arguments[2]=RegExp.$1};
vidType['DailyMotion'].custom={skin1:'colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300'};
}
</script>
[Agent:2]