title: HTML5 video video playlist
body: <p>this is simplistic, simplified HTML5 video playlist.
  Surprisingly for me, it seems to be working just fine in mozzila / chrome / opera just like that
  i mean - with ogv ONLY specified in the script.</p>
  
  <ol>
  <li><p>Question - do i have to specify mp4 and webm as well ?</p></li>
  <li><p>if so - how in this particular case ?</p></li>
  <li><p>What about the IE ?</p></li>
  </ol>
  
  <p>regards</p>
  
  <p>the code:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
     &lt;meta charset="utf-8" /&gt;
     &lt;title&gt;HTML5_video&lt;/title&gt;
     &lt;script&gt;
     var videoPlayer;
     var video_count = 1;
     window.onload = function (){ 
     videoPlayer = document.getElementById("homevideo");
     videoPlayer.addEventListener("ended", function (){
     video_count++;
     if (video_count == 4) video_count = 1;
     var nextVideo = video_count+".ogv";
     videoPlayer.src = nextVideo;
     }, false);
     }
     &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;video id="homevideo" width="640" height="360" autoplay autobuffer src="1.ogv"&gt;&lt;/video&gt;          
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>