gloader.load(["glow", "1", "glow.dom"],{onLoad: function(glow) {
if(typeof bbc === "undefined") window.bbc = {};
bbc.emp_fmtj_default_properties = function(){
this.isEmpWrittenOnLoad=true;
this.configURL="http://news.bbc.co.uk/player/emp/config/default.xml?1.3.114_2.11.7978_8433_20090514110202";
this.companionSize="300x60";
this.companionType="adi";
this.swfObj = {
server: "http://news.bbc.co.uk/player/emp/2.11.7978_8433/",
player7: "7player.swf",
player8: "player.swf",
player9: "9player.swf"
}
this.id="bbc_emp_fmtj_embed";
this.wmode="default";
this.allowFullScreen="true";
this.audioHeight=106;
this.audioWidthSmall=226;
this.audioWidthLarge=512;
this.toolbarPadding = 35;
this.popVidHeight=323;
this.popVidWidth=512;
this.flashPlayerRequired = 8;
this.warningMessageObj={
expressInstallUrl:"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash",
heading:"Cannot play media.",
bodyText:"You do not have the correct version of the flash player. ",
linkText:"Download the correct version"
};
this.audioImgTemplate='<div class="audioImage"></div>';
this.videoImgTemplate='<img class="holding" src="{holding}" width="{width}" height="{height}">';
this.messageTemplate ='<div class="warning"><p><strong>{heading}</strong>{bodyText} <a href="{expressInstallUrl}">{linkText}</a></p></div>';
this.config_settings_language="default";
}
bbc.emp_fmtj_default_properties.prototype.getNoFlashHTML=function(paramObj){
if (!paramObj.holding) {
var imageHTML = this.audioImgTemplate;
} else {
var imageHTML = glow.lang.interpolate(this.videoImgTemplate, paramObj);
}
var messageHTML=glow.lang.interpolate(this.messageTemplate, this.warningMessageObj);
var noFlashHTML=imageHTML+messageHTML;
return noFlashHTML;
}
}});
