Annuaire du Vin

Annuaire Vin


Pour découvrir les vins suisses et apprécier les vins du monde

Mes Favoris

 

Les Etiquettes du Vin


Wine's Links


Obrist Europe


Schenk Asia


Obrist Artisans du vin


Maurice Gay - la haute couture des vins du Valais


Maurice Gay les étiquettes


Bolle - Les spécialistes en vin de Domaines



Playing Sounds with Google Sites

I create a Google Gadget which incorporate a Flash Player.
 

  

As Reader, I use the light dewplayer Flash Reader


  • Carmina Burana, Carl Orff 
       

 
Add this gadget to Google 
 
 
 
  • Thanks to visit me ...

  

 
Add this gadget to Google 
 

   

URL of the gadget


flash_dewplayer.xml
 
 

File parameter


Use the URL of the player and the URL of the mp3 file (both without ?attredirects=0), separated by a question mark. Add the parameters of the player.

 

http://YOURSITE/dewplayer.swf?mp3=http://YOURSITE/YOURMP3FILE.mp3&bgcolor=c3d9ff&volume=80




Parameters of the Player



&bgcolor=rrggbb        
&volume=0 to 100
&autoplay=0 or 1  (1 = true)
&autoreplay=0 or 1





 

Important note

 

Under Internet Explorer, The flash_dewplayer.xml gadget gives an error (Object Expected). Turnaround : use this Google Gadget, a dummy iframe, to encapsulate the flash_dewplayer gadget :

 


my_gadgets_gs.xml
 
 
Add this gadget to Google

 

 

As File Parameter enter the name of the gadget to encapsulate. Here is the value for the first example above :

 


http://www.gmodules.com/ig/ifr?url=http%3A//hosting.gmodules.com/ig/gadgets/file/108621208120033273647/flash_dewplayer.xml&up_File=http://YOURSITE/dewplayer.swf?mp3=http://YOURSITE/carl_orff_carmina_o_fortuna.mp3&volume=80&showtime=1&bgcolor=c3d9ff&up_Backcol=%23c3d9ff

 

 

A Playlist with dewplayer multi



We can use the dewplayer multi, to play more than one mp3 file.


flash_dewplayer-multi.xml
 
 


As parameter, we just add all the mp3 files to play. The URL must by separated by a pipe character, URL encoded (%7C). As there is more than a file, we can use the randomplay  parameter.
 

http://YOURSITE/dewplayer.swf?mp3=http://YOURSITE/YOURMP3FILE1.mp3%7Chttp://YOURSITE/YOURMP3FILE2.mp3&showtime=1&bgcolor=c3d9ff&volume=80&randomplay=1



Parameters of dewplayer multi :



&bgcolor=rrggbb        
&volume=0 to 100
&autoplay=0 or 1   (1 = true)
&autoreplay=0 or 1
&randomplay=0 or 1


 
  • An example, Swiss Posthorn and Carmina Burana


Add this gadget to Google 
 



Using A Generic Flash Player

 
  • Url of the Generic Flash Player Gadget

 
446 x 350

flash_container.xml 
 



 
Add this gadget to Google 
 
 
  • A test with Google MP3 Player.
 
We can use the Google MP3 Player, with volume control, and duration of the song.
 
http://mail.google.com/mail/html/audio.swf
 
 
As File parameter of the gadget, use the URL of the player and the URL of the mp3 file
 
 
http://mail.google.com/mail/html/audio.swf?audioUrl=URL_of_MP3
 
 
As option, we can add autoplay=true :
 
 
http://mail.google.com/mail/html/audio.swf?audioUrl=URL_of_MP3&autoPlay=true 
 
 
The result, Magnificat BWV 243, Gloria Patri (JS Bach)
 
 

 
Add this gadget to Google 
 
 
  • Inserting a Small Player from Deezer
 
We get a Flash Player from Deezer, which can be encapsulated within the Generic Flash Player Gadget. As File Parameter, we enter the URL of the player followed by the ID of the song.
 
 

http://files.deezer.com/swf/singlePlayer.swf?idSong=1429492

Size : 220 x 55

 
 
The ID of the song is found in the Permalink URL in the Deezer site. The color of the player cannot be changed.
 
 
The result, Carmen (Toreador -Bizet) by the Red Army Choirs 
 
 
 
Add this gadget to Google 
 
 
  • A test with a  Voki  (A speaking avatar)
 Voki allow us to create a speaking avatar. It's mainly a Flash animation. The code to embed the avatar is an object tag :
 

<OBJECT id="voki" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" WIDTH=200 HEIGHT=267><PARAM NAME="movie" VALUE="http://vhss-a.oddcast.com/vhss_editors/voki_player.swf?doc=http%3A%2F%2Fvhss-d.oddcast.com%2Fphp%2Fvhss_editors%2Fgetvoki%2Fchsm%3D92193678bcd8fe5adf519c6e08eec6e8%26sc%3D1168014"><PARAM NAME=quality VALUE=high><param name="allowScriptAccess" value="always"><PARAM NAME=scale VALUE=noborder><PARAM NAME=bgcolor VALUE=#><EMBED
src="http://vhss-a.oddcast.com/vhss_editors/voki_player.swf?doc=http%3A%2F%2Fvhss-d.oddcast.com%2Fphp%2Fvhss_editors%2Fgetvoki%2Fchsm%3D92193678bcd8fe5adf519c6e08eec6e8%26sc%3D1168014" swLiveConnect=true NAME="voki" quality=high allowscriptaccess="always" scale=noborder bgcolor=# WIDTH=200 HEIGHT=267 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>

 
 
 
We just copy the src attribute, and we use the value as the File parameter of the generic Flash Player :
 
  

http://vhss-a.oddcast.com/vhss_editors/voki_player.swf?doc=http%3A%2F%2Fvhss-d.oddcast.com%2Fphp%2Fvhss_editors%2Fgetvoki%2Fchsm%3D92193678bcd8fe5adf519c6e08eec6e8%26sc%3D1168014


 
 
The Result :
 
 
 
 

A Flash Reader from ODEO 

 
Using a Google Gadget we can play thousands of sounds from ODEO.
 
 
 

Playing Sounds with IMEEM

 

We can insert a player from IMEEM in a Google Sites page.

 

 

More informations 

 
 
 
 
 
 
 
 


 
 



 Find a Wine