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;   
    }
    

      

  • 相关阅读:
    并发下常见的加锁及锁的PHP具体实现代码(转)
    Yii2.0高级框架数据库增删改查的一些操作(转)
    MySQL主从数据库同步延迟问题解决(转)
    Redis安装及主从配置(转)
    Sphinx 之 Coreseek、Sphinx-for-chinaese、Sphinx+Scws 评测
    Sphinx中文分词安装配置及API调用
    php实现二分查找法
    PHP设计模式_适配器模式
    PHP设计模式_注册树模式
    PHP设计模式_工厂模式
  • 原文地址:https://www.cnblogs.com/h07061108/p/video_falsh.html
Copyright © 2011-2022 走看看