<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Odeo Flash Player V2. Playing Odeo sounds"
title_url="http://sites.google.com/site/annuairevin/tips-and-tricks-for-google-sites"
height="70"
width="325"
scrolling="false"
directory_title="Odeo Flash Player"
description="Flash Container to Play MP3 Songs from Odeo."
screenshot="http://www.liens-du-vin.ch/_pic062/odeo-v2-screen.png"
thumbnail="http://www.liens-du-vin.ch/_pic062/odeo-v2-thumb.png"
author="Philippe Chappuis"
author_email="info+gadgetCSE@liens-du-vin.ch"
author_affiliation="Google"
author_location="Rolle Switzerland"
author_link="http://http://www.liens-du-vin.ch"
author_photo="http://www.liens-du-vin.ch/_pic02/gadget-author-photo.png"
author_aboutme="An Engineer who likes to develop for the Net and tastes wines"
author_quote="A chief is a man who assumes responsibility. He says &quot;I was
beaten&quot; he does not say &quot;My men were beaten&quot; - Antoine de
Saint-Exupery">

<Require feature="flash" />
<Require feature="analytics" />

</ModulePrefs>

<UserPref name="ID" display_name="ID of the mp3"
required="true" default_value="22031249" />

<UserPref name="ContainerCol" display_name="Container Color" required="true"
default_value="#d1dae3" />

<Content type="html">
<![CDATA[

<style type="text/css">
body
{
padding: 0;
margin: 0;
background: __UP_ContainerCol__;
}

</style>

<div id="flashcontainer" style="text-align: center; "></div>

<script type="text/javascript">

// Global variables

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_ide=_trim(prefs.getString("ID"));

s_fil= "http://static.odeo.com/flash/player_audio_embed_v2.swf";
  
s_flv = "jStr=[{'id': " + s_ide + "}]";  

// Play .swf file
function displaySlide()
{

// Play .swf file.
_IG_EmbedFlash(s_fil, "flashcontainer", {
swf_version: 9,
id: "odeo_audio",
flashvars: s_flv,  
wmode: "transparent",
width: 325,
height: 60
})
}



// When gadget first loads, display slide
_IG_RegisterOnloadHandler(displaySlide);
  
_IG_Analytics("UA-442758-35", "/g_sound");

</script>
]]>
</Content>
</Module>