title: Audio file plays only once, simple example Tabrisjs 2.4
body: <p>I'm writing a very simple tutorial on how to play an audio file with Tabrisjs with this simple code which you can test in Playground. It works, but will only play the audio file <strong>once</strong> and I have to Reload it to have it play again. How do I get the audio to play more than once?</p>
  
  <hr>
  
  <pre><code>// simple example to play audio file
  
  const {Button, ui} = require('tabris');
  var my_media = new Media('http://static1.grsites.com/archive/sounds/cartoon/cartoon001.mp3');
  
  let btnPlay = new Button({
    centerX: 0,  centerY: 0,
    text: 'Play sound',
    background: 'blue',
    textColor: 'white',
    font: '24px'
  }).on("select", function() {
    my_media.play();
  }).appendTo(ui.contentView);
  </code></pre>
  
  <hr>
  
  <p>Reference:
  - I'm trying to simplify the example tabrisjs.com provides</p>
  
  <ul>
  <li><p>This will play audio file correctly:</p></li>
  <li><p>MediaPage.js </p></li>
  <li><p><a href="https://github.com/eclipsesource/tabris-js/tree/master/examples/cordova" rel="nofollow noreferrer">https://github.com/eclipsesource/tabris-js/tree/master/examples/cordova</a></p></li>
  </ul>