I use a Google Gadget to insert within Google Sites, a Flash Playlist. We can also use a specific Flash Player for Deezer. URL of the gadget :
Using a Playlist with XSPF Web Music PlayerXSPF Web Music Player is a flash-based web application that uses xspf playlist format to play mp3 songs. XSPF is the XML Shareable Playlist Format. I use the Extended version.
File parameterDownload the xspf player from musicplayer.sourceforge. Use the URL of the player and the URL of the xspf playlist separated by a question mark. You can add autoload=true to play song as soon the page is loaded. Important : The MIME type of the xspf file must be application/xspf+xml. We can then construct the File parameter of the Gadget :
http://YOURSITE/xspf_player.swf?playlist_url=http://YOURSITE/YOURXSPFPLAYLIST.xspf &autoload=true My Playlist : xspf_playlist.xspf
<?xml version="1.0" encoding="UTF-8"?> <playlist version="0" xmlns = "http://xspf.org/ns/0/"> <title>Playlist for Google Sites - PRAC</title> <trackList> <track> <location>http://sites.google.com/site/annuairevin/files/carl_orff_carmina_o_fortuna.mp3</location> <image>http://sites.google.com/site/annuairevin/files/carmina-burana.jpg</image> <annotation>O Fortuna - Carl Orff - Carmina Burana</annotation> </track> <track> <location>http://sites.google.com/site/annuairevin/files/mozart_req_dies_irae.mp3</location> <image>http://sites.google.com/site/annuairevin/files/mozart-dies-irae.jpg</image> <annotation>Mozart, Requiem, Dies Irae</annotation> </track> <track> <location>http://sites.google.com/site/annuairevin/files/bach_243_gloria_patri.mp3</location> <image>http://sites.google.com/site/annuairevin/files/bach-243.jpg</image> <annotation>Bach - BWV 243 - Gloria Patri</annotation> </track> <track> <location>http://sites.google.com/site/annuairevin/files/rossini_swiss_posthorn.mp3</location> <image>http://sites.google.com/site/annuairevin/files/swiss_car.jpg</image> <annotation>Rossini - Guillaume Tell - Swiss Posthorn</annotation> <info>http://www.poste.ch</info> </track> </trackList> </playlist> |



