The Music Player actually consists of two widgets:

You don't have to worry about this. To create a Music Player all you need is an Array of MediaObjects and a MusicPlayerStyle object. A MediaObject encapsulates all relevant information about the file that the music player is going to play. For details please see the source code.