html播放MP4的代码

host 2019-10-24 228

<html>
  <head>
    <title>camera</title>
    <script type="text/javascript">
      function play() {
        var video = document.getElementById("video");
        video.play();
      } 
    </script>
  </head>
  <body>
 
    <video id="video" width="640" height="440" src="cn\video\banner_game.mp4" autobuffer οnclick="play()">
      <div class="fallback"> <p>rysos.com</p> </div>
    </video>
   
  </body>
</html>
————————————————
 

最新回复 (0)
返回