| Author |
Message |
Lothar M. Froehlich
Guest
|
Posted:
Thu Feb 24, 2005 9:53 pm Post subject:
All browser friendly script for WMP |
|
|
Hello,
I'am using for years a "all browser friendly script" for WMP 6.4(shown at
the end of this message)to provide the most of my web pages with streaming
wma background sound. The player itself is minimized respectively hidden.
This works phantastic... also with Opera and Netscape(!)...
Now I just tested this function with Firefox, but it will not work...
probably because the lowest
available plug-in for Firefox is that for WMP 7.
Does somebody know a solution for this problem?!... As far as I know it is
not possible to hide or minimize the WMP7-Player. Using a simple bg-tag
wouldn't work with Netscape-browsers and the others play probably only if
the download has finished.
Thank You!
Lomi
http://www.mp3-music-download.de
==============================================================
<!-- GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER 6.4 RTM -->
<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();
//-- The APPLET is only need for event handling. Uncomment it if
needed.
//document.write("\x3C" + "applet MAYSCRIPT
Code=NPDS.npDSEvtObsProxy.class" )
//document.writeln(" width=5 height=5 name=appObs\x3E
\x3C/applet\x3E")
}
//-->
</script>
<!--
For MBR ASF files, please change the CODEBASE attribute to:
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.
cab#Version=6,4,7,1112"
-->
<OBJECT ID="NSPlay"
WIDTH=15
HEIGHT=15
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.
cab#Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName"
VALUE="http://www.sound-emotion.com/sound-emotioncom/wmamusic/bg/mp3-music-d
ld-silent.wma">
<param name="Volume" value="-15">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediap
layer&ar=Media&sba=Plugin&"
src="http://www.sound-emotion.com/sound-emotioncom/wmamusic/bg/mp3-music-dld
-silent.wma"
Name=NSPlay
ShowControls=1
ShowDisplay=0
ShowStatusBar=0
width=15
height=15
</OBJECT>
==================================================
|
|
| Back to top |
|
 |
whpodj
Joined: 25 Feb 2005
Posts: 4
|
Posted:
Fri Feb 25, 2005 10:16 pm Post subject:
re:All browser friendly script for WMP |
|
|
| In what way is it broken. That code is working for me in firefox and IE to just play (not working for scripting), |
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Fri Mar 11, 2005 4:08 pm Post subject:
Re: All browser friendly script for WMP |
|
|
On Fri, 11 Mar 2005 03:01:22 -0600,
wb04@moksha-dot-net.no-spam.invalid (whpodj) wrote:
| Quote: | In what way is it broken. That code is working for me in firefox and
IE to just play (not working for scripting),
|
And that doesn't count as broken to you ?
Cheers - Neil
|
|
| Back to top |
|
 |
|
|
|
|