日期:2014-05-18  浏览次数:20415 次

问一个视频播放代码的意思
document.write( ' <SCRIPT       LANGUAGE=VBScript\>       \n ');      
    document.write( 'on       error       resume       next       \n ');      
    document.write( 'RealPlayerG2       =       (NOT       IsNull(CreateObject( "rmocx.RealPlayer       G2       Control ")))\n ');      
    document.write( 'RealPlayer5       =       (NOT       IsNull(CreateObject( "RealPlayer.RealPlayer(tm)       ActiveX       Control       (32-bit) ")))\n ');      
    document.write( 'RealPlayer4       =       (NOT       IsNull(CreateObject( "RealVideo.RealVideo(tm)       ActiveX       Control       (32-bit) ")))\n ');      
    document.write( ' </SCRIPT\>       \n ');    
    if       (       RealPlayerG2       ||       RealPlayer5       ||       RealPlayer4       ){      
    //可以在此处添加 <object> 对象      
    }else       if       (       RealMode       ){       //       NetScape浏览器用户      
    //       可以在此处加入 <embed> 对象      
    }
    else{      
    window.location.replace( "http://service.real.com/help/library/guides/production/htmfiles/control.htm ");       //       转入install.htm页面指导用户进行安装      
    }        
这段有什么作用呢?又是什么意思!!!

------解决方案--------------------
客户端装了RealPlayer就播放.rmvb什么的real的媒体格式。
没张就跳转到它的官方下载。