title: myAudio.play() is not a function
body: <p>I am getting a strange message when I try to play an audio file.</p>
  
  <p>On my html I got a sound file:</p>
  
  <pre><code>&lt;audio id="song" src="song.mp3"&gt;&lt;/audio&gt;
  </code></pre>
  
  <p>and when I click an image:</p>
  
  <pre><code>&lt;img onclick="togglePlay()" src="image.png" width="100%"&gt;
                      &lt;/div&gt;
  </code></pre>
  
  <p>on my JavaScript:</p>
  
  <pre><code>  var myAudio = $("#song");
  
    var isPlaying = false;
    function togglePlay() {
       if (isPlaying) {
            myAudio.pause();
        } else {
          myAudio.play();
        }
     };
     myAudio.onplaying = function() {
        isPlaying = true;
     };
     myAudio.onpause = function() {
        isPlaying = false;
     };
  </code></pre>
  
  <p>I am getting no sound and on the console a warning with the message: "myAudio.play() is not a funtion".</p>