<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Flash Reader to Play MP3 Files"
title_url="http://viti-vino.blogspot.com/"
height="30"
width="220"
scrolling="false"
directory_title="Using dewplayer - http://www.alsacreations.fr/dewplayer-en"
description="A Google Gadget to use dewplayer. A light mp3 reader. A Google Gadget to play sound within Google Sites."
screenshot="http://www.liens-du-vin.ch/_pic061/dewplayer-flash-player-screen.png"
thumbnail="http://www.liens-du-vin.ch/_pic061/dewplayer-flash-player.png"
author="Philippe Chappuis"
author_email="info+gadgetCSE@liens-du-vin.ch"
author_affiliation="Google"
author_location="Rolle Switzerland"
author_link="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="File" display_name="File (*.swf)"
required="true" default_value="http://www.liens-du-vin.ch/_files/dewplayer.swf?mp3=http://sites.google.com/site/annuairevin/files/carl_orff_carmina_o_fortuna.mp3&amp;volume=80&amp;showtime=1&amp;bgcolor=c3d9ff" />
<UserPref name="Backcol" display_name="Color for Background" required="true" default_value="#d1dae3" />

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

<style type="text/css">

.main_box
{
background-color: __UP_Backcol__;
}

</style>

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

<script type="text/javascript">

// Global variables

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_fil=_unesc(_trim(prefs.getString("File")));

// Play .swf file
function displayReader()
{

// Play .swf file.
_IG_EmbedFlash(s_fil, "flashcontainer", {
swf_version: 9,
wmode: "transparent",  
id: "flashid",
width: 200,
height: 22
})
}

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

</script>

</div>

]]>
</Content>
</Module>
