imageurl Property

This property returns a URL of the album cover image for the currently playing track. In general the image returned is 160x160 pixels. If no image is available, the imageurl property will be an empty.

intel.xdk.playingtrack.imageurl

Example:


document.addEventListener("intel.xdk.player.track.change",onTrackChanged,false);
function onTrackChanged(e)
{
        //The track has just changed
        alert("The new track's artist: " + intel.xdk.playingtrack.artist);
        alert("The new track's title: " + intel.xdk.playingtrack.title); 
        alert("The new track's album name: " + intel.xdk.playingtrack.album);
        alert("The new track's image: " + intel.xdk.playingtrack.imageurl);
}
             
For more complete information about compiler optimizations, see our Optimization Notice.