嵌入式Web视频点播系统实现方法
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("install.htm"); // 转入install.htm页面指导用户进行安装 } --> </Script> 上一篇: jscript错误代码及相应解释大全 下一篇: 各种网页播放器代码大全 更多相关文章
|
推荐文章
精彩文章
· 图象淡出效果
|