VbScript Windows Mobile Internet Explorer???

G

Guest

On my website and when viewed in IE I use the below code to visit my website
and tune into my Shoutcast radio station.

<div style="float:right;width:120px;text-align:center;"><img
src="Images/radio.gif"/><body leftmargin="0" topmargin="0"
bgcolor="#5573b8"><script language="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))

If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
document.write " standby=""Loading Microsoft Windows Media Player
components..."" "
document.write " TYPE=""application/x-oleobject"" width=""200""
height=""63"">"
document.write "<PARAM NAME=""url"" VALUE=""http://69.250.165.134:8000"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""uiMode"" VALUE=""mini"">"
document.write "<PARAM NAME=""volume"" VALUE=""15"">"
document.write "</OBJECT>"

Else
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
document.write
"CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
document.write " standby=""Loading Microsoft Windows Media Player
components..."" "
document.write " TYPE=""application/x-oleobject"" width=""200""
height=""42"">"
document.write "<PARAM NAME=""FileName""
VALUE=""http://69.250.165.134:8000"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""volume"" VALUE=""15"">"
document.write "</OBJECT>"
End If

-->
</script></body> </div>

My friend who has the 700w Treo said when she visited my site through her
phone the windows media player as seen by my PC using Internet Explorer
visitors did not appear. Is Windows Mobile Internet Explorer that different
and is there a way to change my code so Windows Mobile users can go to my
site and tune into my Shoutcast station?

Cheers, Paul

****TO hell with the Ipod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top