Post by Eton Bones on Feb 9, 2008 14:21:54 GMT -5
[bg=mistyrose] |
Video Type:ESPN
UBBC:[video=ESPN]3296160[/video]
How to insert video:
check the url of the video and extract the videoId (sometimes also referred to as the mediaId):[/video][/td][/tr][/table][/blockquote]
http://sports.espn.go.com/broadband/video/videopage?videoId=3226711&categoryId=2378529
update:You can now use the entire url and the code will extract the videoid itself
example:
[video=ESPN]http://sports.espn.go.com/broadband/video/videopage?videoId=3296160&categoryId=2378529&n8pe6c=2
Addon Code:
<script>
/* AVIP Addon:ESPN (global header below AVIP header code) - Eton Bones*/
if(window['vidType']){
vidType['ESPN']={};
vidType['ESPN'].prefix='http://sports.espn.go.com/broadband/player.swf?mediaId=%video%';
vidType['ESPN'].example='http://etonbones.proboards100.com/index.cgi?board=examples&action=display&thread=19';
vidType['ESPN'].preprocess=function(vType,vURI){if(vURI.match(/videoId=([^&]+)/i))caller[caller.length-1].arguments[2]=RegExp.$1};
vidType['ESPN'].params={allownetworking:'internal'}
}
</script>
[Agent:2]