• 浏览器中显示视频,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;   
    }
    

      

  • 相关阅读:
    第三次冲刺
    第二次冲刺
    第一次冲刺
    团队学习
    git and github
    还不够格的程序员
    CF1602F. Difficult Mountain
    线性基
    欧拉回路学习笔记
    莫比乌斯反演-学习笔记
  • 原文地址:https://www.cnblogs.com/h07061108/p/video_falsh.html
Copyright © 2020-2023  润新知