zoukankan      html  css  js  c++  java
  • 浏览器中显示视频,flash等的代码处理

    window.flashView=function(flash_url){
        var     html='';
                html+='<div id="obj_flash_div">';
                html+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1005px" height="460px" id="Lottery">';
                html+='                <param name="movie" id="f_movie" value="'+flash_url+'" />';
                html+='                <param name="quality" value="high" />';
                html+='                <param name="bgcolor" value="#ffffff" />';
    	    html+='		   <param name="wmode" value="Opaque"/>';
                html+='                <param name="allowScriptAccess" value="sameDomain" />';
                html+='                <param name="allowFullScreen" value="true" />';
                html+='                <param name="quality" value="high">';
                html+='                <!--[if !IE]>-->';
                html+='                <object type="application/x-shockwave-flash" id="s_movie" data='+flash_url+'width="1005px" height="460px">';
                html+='                    <param name="quality" value="high" />';
                html+='                    <param name="bgcolor" value="#ffffff" />';
                html+='                    <param name="allowScriptAccess" value="sameDomain" />';
                html+='                    <param name="allowFullScreen" value="true" />';
    	    html+='		       <param name="wmode" value="Opaque"/>';
                html+='                <!--<![endif]-->';
                html+='                <!--[if gte IE 6]>-->';
                html+='                    <p> ';
                html+='                        Either scripts and active content are not permitted to run or Adobe Flash Player version';
                html+='                        11.4.0 or greater is not installed.';
                html+='                    </p>';
                html+='                <!--<![endif]-->';
                html+='                    <a href="http://www.adobe.com/go/getflashplayer">';
                html+='                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash                           Player" />';
                html+='                    </a>';
                html+='                <!--[if !IE]>-->';
                html+='                </object>';
                html+='                <!--<![endif]-->';
                html+='            </object>';
                html+='</div>';  
                html+='';
             return  html;   
    }
    

      

  • 相关阅读:
    spectrogram函数做短时傅里叶分析
    (转) 经典功率谱估计及Matlab仿真
    matlab和C语言实现最小二乘法
    Matlab周期图法使用FFT实现
    vs配置SP++3.0
    VS2015调用matlab Plot函数
    elasticsearch配置文件解析
    elasticsearch.yml
    elasticsearch 动态映射
    elasticsearch _settings
  • 原文地址:https://www.cnblogs.com/h07061108/p/video_falsh.html
Copyright © 2011-2022 走看看