title: mediaelement.js and custom playlist
body: <p>I have such code (for example):</p>
  
  <pre><code>&lt;script&gt;
  $('audio').mediaelementplayer();
  &lt;/script&gt;
  
  &lt;audio id="mejs" controls="controls"&gt;
      &lt;source src="/media/file-2.mp3" type="audio/mp3" /&gt;
  &lt;/audio&gt;
  
  &lt;ul class="mejs-list"&gt;
      &lt;li&gt;/media/file-1.mp3&lt;/li&gt;
      &lt;li class="current"&gt;/media/file-2.mp3&lt;/li&gt;
      &lt;li&gt;/media/file-3.mp3&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I need to play audio files from the list by queue (one after another).</p>
  
  <p>How can I <strong>change the source of the audio for the next file from the list after finishing playing current file and start playing the next one?</strong></p>
  
  <p><strong>Update</strong>: related topic about <a href="https://stackoverflow.com/questions/6395265/how-can-i-get-html5-audio-playlist-with-mediaelement-js">mediaelement.js and playlist</a> but the answer is about using many mediaelementplayer() instances.</p>