You are in: home » ideas » article

dRadio - Deezer radio player

Page 2 of 2

Tags: Deezer music Flash Javascript Opera widgets Google Gadgets

Google Gadget

Deezer Radio Google Gadget

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.

Pop-up window

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.

Pages:  «Prev 1 2

Show all the article's pages in one single long page. All in one page

referrers Check incoming links to this article, according to Yahoo!.

|

react Send your reaction to this article by email.

|

bookmark Save this article using an online web2.0 service, the bookmark can be priate or can be shared with the rest of the world.

|

print If Javascript is disabled you'll need to use your browser's control to print this pages.

External links: