(function( window, $, undefined ) {
	'use strict';

	$.extend( MediaElementPlayer.prototype, {
		buildcuecurrentdetails: function( player, controls, layers ) {
			var $artist, $title;

			layers.append( '<div class="mejs-track-details"><span class="mejs-track-artist"></span><span class="mejs-track-title"></span></div>' );
			$artist = layers.find( '.mejs-track-artist' );
			$title = layers.find( '.mejs-track-title' );

			player.$node.on( 'setTrack.cue', function( e, track, player ) {
				track.meta = track.meta || {};
				track.title = track.title || {};

				$artist.html( track.meta.artist );
				$title.html( track.title );
			});
		}
	});

})( this, jQuery );

(function( window, $, undefined ) {
	'use strict';

	$.extend( MediaElementPlayer.prototype, {
		buildcuecurrentdetails: function( player, controls, layers ) {
			var $artist, $title;

			layers.append( '<div class="mejs-track-details"><span class="mejs-track-artist"></span><span class="mejs-track-title"></span></div>' );
			$artist = layers.find( '.mejs-track-artist' );
			$title = layers.find( '.mejs-track-title' );

			player.$node.on( 'setTrack.cue', function( e, track, player ) {
				track.meta = track.meta || {};
				track.title = track.title || '';

				$artist.html( track.meta.artist );
				$title.html( track.title );
				player.$media.attr( 'title', track.title );
			});
		}
	});

})( this, jQuery );

Set the title attribute on the audio element.
Set the title attribute on the audio element.

This can be used by scripts to identify the track and iOS may use it for the
Now Playing information.
