Widgets
The widget space is the area between the player controls and the navigation bar, and can display up to three widgets. These are provided by the player, and retrieve data from the Radioplayer APIs.
Now Playing
This widget displays the current now playing information. Depending on the data provided by the station this can be simple station information, programme information, or now playing track information. If track information is provided then it can also show an expanded view with recent tracks.
Now playing on demand
When playing on demand content, the Now Playing widget can also display show notes and images.
Schedule
If schedule information is available, this widget can display current, recent and upcoming shows.
On Demand
The On Demand widget displays the station's latest on demand content, with links to play each episode.
Advertising in widgets
Any of the widgets can also display an ad unit. This is enabled automatically if an ad provider registers display or companion ads.
iframe widget
Instead of the standard widgets, you may display a custom iframe in the widget space. For details see the Embedded iframes chapter.
Enabling widgets
The selected widgets are configured using the
widgets
property.