<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Flash Reader to Play Deezer Playlist"
title_url="http://sites.google.com/site/annuairevin/tips-and-tricks-for-google-sites"
width="320"
height="345"
scrolling="false"
directory_title="A Deezer playlist (V3) - http://www.deezer.com"
description="A Google Gadget to play a Deezer playlist. A Google Gadget to play sound within Google Sites."
screenshot="http://www.liens-du-vin.ch/_pic06/deezer-playlist-screen.png"
thumbnail="http://www.liens-du-vin.ch/_pic06/deezer-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/_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="PlaylistID" display_name="Playlist ID"
required="true" default_value="24903947" />

<UserPref name="ContainerCol" display_name="Container Color"
required="true" default_value="#d1dae3" />

<Content type="html">
<![CDATA[

<style type="text/css">

body
{
margin: 0;
padding: 0;
background-color: __UP_ContainerCol__;
text-align: center;
}  
  
</style>

<div id="my_container"></div>
<script type="text/javascript">

// Global variables

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_pla=_trim(prefs.getString("PlaylistID"));
  
s_pla="http://files.deezer.com/swf/kamino.swf?sl=1&amp;cs=0&amp;path=" + s_pla + "&amp;lang=FR";  
  
// variable html 

var s_html="";

  
s_html="<object width='320' height='345' >" +
      "<param name='movie' value='" + s_pla + "' />" +
      "<param name='allowScriptAccess' value='always' />" +
      "<param name='allowFullScreen' value='true' />" +
      "<embed src='"  + s_pla + "' allowscriptaccess='always' allowfullscreen='true' " +
      " width='320' height='345' wmode='transparent' name='dewplayer' align='middle' allowScriptAccess='sameDomain'" +
      " type='application/x-shockwave-flash' ></embed></object>"  ;

  
    _gel("my_container").innerHTML=s_html;
    
    _IG_Analytics("UA-442758-35", "/g_sound");

    
</script>
]]>
</Content>
</Module>