video_seeking

return Boolean

by iamya

HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>video_seeking</title>
<script>
function isSeeking()
  { 
  myVid=document.getElementById("video1");
  document.getElementById("span1").innerHTML=("Seeking: " + myVid.seeking);
  } 
</script>
</head>

<body>
<video id="video1" src=http://progressive.totaleclips.com.edgesuite.net/308/e30871_257.mp4 controls="controls" onseeking="isSeeking()" onseeked="isSeeking()">
  Your browser does not support HTML5 video.
</video>
<p>Try seeking in the video: <span id="span1"></span></p>
<p>Video courtesy of <a href="http://firstchurchhadley.org/index/podtest" target="_blank">here</a> </p>

</body>
</html>