title: Loop video with media fragments?
body: <p>I am trying to loop a video URL(with media fragments) when it gets paused. I set up a listener to call a loopVideo() function when the video gets paused:</p>
  
  <pre><code>function loopVideo() {
      var video = document.getElementById('Video1');
      var videoFile = 'file1.mp4#t=10,10'; 
          video.src = videoFile;
          video.play();       
  };
  
  document.getElementById('Video1').addEventListener('paused', loopVideo(), false);
  </code></pre>
  
  <p>So far the video fragment plays once, but doesn't loop when it pauses. Is there an error in my code or are media fragments the problem?</p>