title: Cordova Media Plugin vs HTML5 Audio
body: <p>My Cordova app currently has two ways to play audio, one works on the web app and one works on the cross-platform native app.</p>
  
  <ul>
  <li><strong>HTML5 for Web</strong> HTML: <code>&lt;audio id="audio" src="audio.mp3"&gt;&lt;/audio&gt;</code> JS: <code>document.getElementById('audio').play();</code></li>
  <li><strong>Cordova Plugin for Mobile</strong> JS <code>new Media('audio.mp3').play();</code></li>
  </ul>
  
  <p>I'm not a fan of writing things twice.  Is there an audio solution that works for both web and mobile?  Or an elegant way to fallback?</p>