title: Google cast: How to show metadata in default media player?
body: <p>I am trying to make my chrome sender application send metadata to the default media receiver application but the default media receiver does not show the metadata. I cannot find documentation or examples. Does anybody know how implement this? Below code plays the audio but the player does not show any image or other metadata.</p>
  
  <p><strong>Initialization:</strong></p>
  
  <pre><code> var sessionRequest = new chrome.cast.SessionRequest(chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID);
    var apiConfig = new chrome.cast.ApiConfig(sessionRequest,
      sessionListener,
      receiverListener);
    chrome.cast.initialize(apiConfig, onInitSuccess, onError);
    chrome.cast.requestSession(onRequestSessionSuccess, onLaunchError);
  </code></pre>
  
  <p>...</p>
  
  <p><strong>Loading media</strong></p>
  
  <pre><code>url = "url-to-media"
  var mediaInfo = new chrome.cast.media.MediaInfo(url, 'audio/aac');
  mediaInfo.metadata = new chrome.cast.media.MusicTrackMediaMetadata()
  mediaInfo.metadata.albumName = 'This is the name of the album'
  mediaInfo.metadata.artistName = 'This is the name of the artist'
  mediaInfo.metadata.songName = 'This is the name of the song'
  im = chrome.cast.Image('http://m1.behance.net/rendition/modules/575407/disp/822271229466847.png')
  mediaInfo.metadata.images = new Array(im)
  var request = new chrome.cast.media.LoadRequest(mediaInfo);
  session.loadMedia(request,onMediaDiscovered.bind(this, 'loadMedia'), onMediaError())
  </code></pre>