案例:html/html5 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html> 
2
<html> 
3
<body> 
4
5
<video id="video1" controls="controls">
6
  <source src="/example/html5/mov_bbb.mp4" type="video/mp4">
7
  <source src="/example/html5/mov_bbb.ogg" type="video/ogg">
8
  Your browser does not support HTML5 video.
9
</video>
10
11
<script>
12
myVid=document.getElementById("video1");
13
myVid.onloadstart=alert("Starting to load video");
14
</script> 
15
16
</body> 
17
</html>
18