title: Event Listeners in HTML5 Video on the iPad Safari not working?
body: <p>I've got this in the <code>&lt;head&gt;</code>:</p>
  
  <pre><code>&lt;script&gt;
        function log(event){
       var Url = "./log.php?session=&lt;?php echo session_id(); ?&gt;&amp;event=" + event;
  
          xmlHttp = new XMLHttpRequest(); 
          xmlHttp.open( "GET", Url, true );
          xmlHttp.send( null );
  
      }
  &lt;/script&gt; 
  </code></pre>
  
  <p>And this in the <code>&lt;body&gt;</code>:</p>
  
  <pre><code>&lt;video id="video" src="./video/LarryVideo.mp4" 
    controls="controls" 
    poster="./img/video_poster.jpg"
    onabort="log('onabort');"
    oncanplay="log('oncanplay');"
    oncanplaythrough="log('oncanplaythrough');"
    ondurationchange="log('ondurationchange');"
    onemptied="log('onemptied');"
    onended="log('onended');"
    onerror="log('onerror');"
    onloadeddata="log('onloadeddata');"
    onloadedmetadata="log('onloadedmetadata');"
    onloadstart="log('onloadstart');"
    onpause="log('onpause');"
    onplay="log('onplay');"
    onplaying="log('onplaying');"
    onprogress="log('onprogress');"
    onratechange="log('onratechange');"
    onreadystatechange="log('onreadystatechange');"
    onseeked="log('onseeked');"
    onseeking="log('onseeking');"
    onstalled="log('onstalled');"
    onsuspend="log('onsuspend');"
    ontimeupdate="log('ontimeupdate');"
    onvolumechange="log('onvolumechange');"
    onwaiting="log('onwaiting');"&gt;
      &lt;script&gt;
          QT_WriteOBJECT('./video/LarryVideo.mp4',
              '380px', '285px',           // width &amp; height
              '',                         // required version of the ActiveX control, we're OK with the default value
              'scale', 'tofit',           // scale to fit element size exactly so resizing works
              'emb#id', 'video_embed',    // ID for embed tag only
              'obj#id', 'video_obj');     // ID for object tag only
      &lt;/script&gt; 
  &lt;/video&gt;
  </code></pre>
  
  <p>My normal Safari creates nice log-file entries as expected. Mobile Safari from iPad however doesn't do anything at all. </p>
  
  <p>What could be wrong with this?</p>