<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Flash Player - Playlist for MP3 Files"
title_url="http://sites.google.com/site/annuairevin/"
height="350"
width="446"
scrolling="false"
directory_title="Flash Slideshow"
description="Flash Player for MP3 Files. A Google Gadget to incorporate a Flash Player within Google Sites."
screenshot="http://www.liens-du-vin.ch/_pic061/flash-playlist-screen.png"
thumbnail="http://www.liens-du-vin.ch/_pic061/flash-playlist-thumb.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/_pic061/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/xspf_player.swf?playlist_url=http://sites.google.com/site/annuairevin/files/xspf_tracklist.xspf" />

<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>

<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,
id: "flashid",
width: 426,
height: 320
})
}

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

</script>

<div id="my_footer" style="text-align: center; margin-top:5px;"></div>
<br/>
</div>


]]>
</Content>
</Module>
