<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs 
  title="BBC Radio iPlayer" 
  title_url="http://www.bbc.co.uk/iplayer/" 
  directory_title="BBC Radio iPlayer"
  description="Listen live to BBC Radio" 
  width="600" 
  height="200" 
  author="Daniel Moll" 
  author_email="daniel.moll@bbc.co.uk" 
  author_location="London, United Kingdom" 
  author_affiliation="BBC" 
  screenshot="http://hosting.gmodules.com/ig/gadgets/file/104489919423436401062/screenshot.jpg" 
  thumbnail="http://hosting.gmodules.com/ig/gadgets/file/104489919423436401062/thumbnail.jpg" 
  category="lifestyle" 
  category2="funandgames" 
  scaling="false">
  <Require feature="flash" />
</ModulePrefs>
<Content type="html"><![CDATA[
<style type="text/css">
  div.ipLWrapper {
    text-align: center;
    width:      100%;
    height:     200px;
    background: #000000;
    display:    block; 
    float:      left;
    margin:     0 auto 0 auto;
    padding:    20px 0 0 0;
  }
</style>
<div id="__ipLWrapper__MODULE_ID__" class="ipLWrapper"></div>
<script type="text/javascript">
window.name="main";

function aodpopup(URL) {
  x = 512;
  y = 270;
  window.open(URL,'aod','width=' + x + ',height=' + y + ',toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=yes,left=60,screenX=60,top=100,screenY=100');
};

if(location.search.substring(1)=="focuswin") {
  window.focus();
};
  
  var srp_siteName    = "Google Gadgets";
  var srp_swfPath     = "http://www.bbc.co.uk/radio/iplayer-launcher/iplayer-launcher.swf";
  var srp_setPath     = "http://www.bbc.co.uk/radio/iplayer-launcher/settings.xml";
  
  var swf_container   = "__ipLWrapper__MODULE_ID__";
  var swf_url         = srp_swfPath + "?path=" + srp_setPath + "&src=" + srp_swfPath + "&srp_siteName=" + srp_siteName;
    
  _IG_EmbedFlash(swf_url, 
    swf_container, { 
      swf_version : 8, 
      bgcolor : "#000000", 
      width : 300, 
      height : 160, 
      wmode : "window", 
      id : "bbcradioplayer", 
      allowScriptAccess : "always"
    }
  );
</script>
]]></Content>
</Module>






