• 页面指定播放视频


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
     <HEAD>
      <TITLE> New Document </TITLE>
      <META NAME="Generator" CONTENT="EditPlus">
      <META NAME="Author" CONTENT="">
      <META NAME="Keywords" CONTENT="">
      <META NAME="Description" CONTENT="">
     
    <script>
    function openWindow(theURL,winName,features) {
            window.open(theURL,winName,features);
      }
    function onClickDiv(){
           // document.all(’divimg’).style.display=”none”;
         document.all("ActiveMovie1").filename="E:\\Mp4\\能静-念奴娇.mp4";
       // document.all("ActiveMovie1").play();
           // document.all(’divwmv’).style.display=”";
    }
    </script>

      </script>
     </HEAD>

     <BODY>
     
    下面就是视频部分,放到放视频的地方:
    <input type="button" id="btn" value="testONCLICK" onclick="onClickDiv()"/>
    <object classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" id="ActiveMovie1" width="239" height="250">
    <param name="Appearance" value="0">
    <param name="AutoStart" value="0">
    <param name="AllowChangeDisplayMode" value="-1">
    <param name="AllowHideDisplay" value="0">
    <param name="AllowHideControls" value="-1">
    <param name="AutoRewind" value="-1">
    <param name="Balance" value="0">
    <param name="CurrentPosition" value="0">
    <param name="DisplayBackColor" value="0">
    <param name="DisplayForeColor" value="16777215">
    <param name="DisplayMode" value="0">
    <param name="Enabled" value="-1">
    <param name="EnableContextMenu" value="-1">
    <param name="EnablePositionControls" value="-1">
    <param name="EnableSelectionControls" value="0">
    <param name="EnableTracker" value="-1">
    <param name="Filename" value="" valuetype="ref">
    <param name="FullScreenMode" value="0">
    <param name="MovieWindowSize" value="0">
    <param name="PlayCount" value="1">
    <param name="Rate" value="1">
    <param name="SelectionStart" value="-1">
    <param name="SelectionEnd" value="-1">
    <param name="ShowControls" value="-1">
    <param name="ShowDisplay" value="-1">
    <param name="ShowPositionControls" value="0">
    <param name="ShowTracker" value="-1">
    <param name="Volume" value="-480">
    </object>
     </BODY>
    </HTML>

  • 相关阅读:
    phpcms 任意位置获取用户头像
    php微信公众帐号发送红包
    nginx解决502错误
    phpcms v9 万能字段使用
    0转换为万
    温故而知新(三)
    温故而知新(一)
    基础积累,来自其他网站的链接
    GCD多线程 在子线程中获取网络图片 在主线程更新
    iOS9 中的一些适配问题
  • 原文地址:https://www.cnblogs.com/snlfq2000/p/1860782.html
Copyright © 2020-2023  润新知