Screenshot of the Google Gadget
The Deezer Radio Google Gadget basically consists of markup code and Javascript inside an iframe (to prevent cross-site scripting threats).
The gadget can be included in a iGoogle page or in any web page. In iGoogle the user can change the gadget preferences anytime, whereas if the gadget is included elsewhere, preferences have to be set before the code is added to the page.
The Deezer Radio Google Gadget can be found on the Google Gadget website. Javascript and Adobe Flash are required.
The user may find convenient to open the Deezer Radio Player inside a small pop-window, while surfing in the main browser window.
When the user clicks on the pop-up window link, a new window will open and the new Flash player will play the same radio station.
The page loaded in the pop-up window is not dynamically generated, the parameter that identifies which radio station will be loaded is not processed by the server.
Instead the page is a single static page, but the URL address contains a fake GET request (eg: dradio.html?radio=33) that identifies the radio station.
The Javascript code will then extract the identifier of the radio station from the URL address, thus no server-side scripting is needed.
Example of the pop-up window: open radio player.