Post by Eton Bones on Feb 9, 2008 14:19:55 GMT -5
[bg=mistyrose] |
Video Type:Google
UBBC: [video=Google]3983706668483511310[/video]
How To Insert video:
Look at the url of the video you would like to insert in a post:
http://video.google.com/url?docid=3983706668483511310
the number following docid= is the number you need to insert in the video tags (also accepts full url).
Note:It appears that if the video identifier has a hyphen in front of it then it means it's not hosted by google and probably won't play in google's player. You'll need to go to the site it is hosted (YouTube, AOL, Yahoo, etc.) and post it as a video from that site instead of google.
Addon Code:
<script>
/* AVIP Addon:Google (global header below AVIP header code) - Eton Bones*/
if(window['vidType']){
vidType['Google']={};
vidType['Google'].prefix='http://video.google.com/googleplayer.swf?docId=%video%';
vidType['Google'].params={flashvars:_getFlashVars};
vidType['Google'].example='http://etonbones.proboards100.com/index.cgi?board=examples&action=display&thread=20';
vidType['Google'].preprocess=function(vType,vURI){if(/\bgoogle\./i.test(vURI) && vURI.match(/docid=([^&]+)/i))caller[caller.length-1].arguments[2]=RegExp.$1};
}
</script>