Здравствуйте! Ищу скрипт веб-плейера, который бы работал во всех браузерах и понимал протокол mms ...то есть: mms://сылка.
Есть скрипт виндовс медиа плейера, но он работает только в ИЕ.
Вот он собственно:
..может этот скрипт можно как-то сиправить чтоб он работал в других браузерах?
Есть скрипт виндовс медиа плейера, но он работает только в ИЕ.
Вот он собственно:
| Код |
|---|
| <html>
<head> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> <title>Объявление для пункта публикации musiconline</title> <script language="JavaScript"> var L_LAUNCHSAP_TEXT = "Загрузить автономный проигрыватель Windows Media"; var g_bNetscape = ( -1 != navigator.appName.indexOf( "Netscape" ) ); </script> <style> BODY { font-size : medium; font-family : Tahoma, Arial, Sans Serif; font-weight : normal; font-style : normal; color : #FFFFFF; background-color : #3366CC; border-style : none; } A { color : #66CCFF; font-weight : bold; } </style> <script language="JavaScript"> <!-- if ( navigator.appName == "Netscape" ) { //-- This next line ensures that any plugins just installed are updated in the Browser //-- without quitting the browser. navigator.plugins.refresh(); // We don't need the APPLET within IE // ***Please note that if you do not need to script events, you can safely remove the next two lines document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class") document.writeln(" width=5 height=5 name=appObs\x3E \x3C/applet\x3E") } //--> </script> <script LANGUAGE="VBSCRIPT"> Sub cmdStandAlone_onclick If isobject(WMP) Then If WMP.playstate > 0 Then WMP.Close() End If location.href = "http://mir-2007/musiconline.asx" End If End Sub </script> </head> <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0"> <div align="center"> <center> <table border="0" width="100%" height="80%"> <tr> <td width="100%"> <p align="center"><b>Содержимое Windows Media</b> </td> </tr> <tr> <td width="100%"> <p align="center"><b>Пункт публикации: musiconline</b></td> </tr> <tr> <td width="100%"> <p align="center"> <script language="Javascript"> if( g_bNetscape ) { document.writeln( "<APPLET mayscript code=WMPNS.WMP name=WMP1 width=300 height=200 MAYSCRIPT >" ); } </script> <OBJECT CLASSID="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" ID="WMP"> <PARAM NAME="Name" VALUE="WMP1"> <PARAM NAME="URL" VALUE="http://mir-2007/musiconline.nsc"> </OBJECT> </APPLET> </td> </tr> <tr> <td width="100%"><p align="center"> <script language="Javascript"> if( !g_bNetscape ) { document.writeln( "<input type=\"button\" id=\"cmdStandAlone\" value=\"" + L_LAUNCHSAP_TEXT + "\">" ); } </script> </tr> </table> </center> </div> </body> </html> |
..может этот скрипт можно как-то сиправить чтоб он работал в других браузерах?











