|
I create a Google Gadget which incorporate a Flash Player.
As Reader, I use the light dewplayer Flash Reader
URL of the gadgetFile parameterUse 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 :
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 multiWe can use the dewplayer multi, to play more than one mp3 file. 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
Using A Generic Flash 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)
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.
The ID of the song is found in the Permalink URL in the Deezer site. The color of the player cannot be changed.
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 ODEOUsing 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
|




