album Property

This property returns an album the currently playing track might be found on, if that information is available.

intel.xdk.playingtrack.album

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);
}
             
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.