IK heb er kleine oogjes van. Niet naar bed geweest, en en dan ook nog niet de oplossing vinden.
Ik heb op mijn site media player geintegreerd die de gebruiker de mogelijkheid geeft om radio 538 te luisteren:
<script language="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
' Windows Media Player 7 Code
If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer width=130 height=175 CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 standby=""Loading Microsoft Windows Media Player components..."" TYPE=""application/x-oleobject"">"
document.write "<PARAM NAME=""url"" VALUE=""http://www.garnierstreamingmedia.com/asx/radio538.asp"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
' Windows Media Player 6.4 Code
Else
document.write "<OBJECT ID=MediaPlayer width=130 height=175 CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 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"">"
document.write "<PARAM NAME=""FileName"" VALUE=""http://www.garnierstreamingmedia.com/asx/radio538.asp"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</script>
Dit werkt allemaal goed. Maar nu wil ik dat de knoppen volgende en vorige gebruikt kunnen worden om er een andere site (bijvoorbeeld noordzee fm) aan te hangen.
Iemand enig idee, want ik ben de weg even kwijt
Ik heb op mijn site media player geintegreerd die de gebruiker de mogelijkheid geeft om radio 538 te luisteren:
<script language="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
' Windows Media Player 7 Code
If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer width=130 height=175 CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 standby=""Loading Microsoft Windows Media Player components..."" TYPE=""application/x-oleobject"">"
document.write "<PARAM NAME=""url"" VALUE=""http://www.garnierstreamingmedia.com/asx/radio538.asp"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
' Windows Media Player 6.4 Code
Else
document.write "<OBJECT ID=MediaPlayer width=130 height=175 CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 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"">"
document.write "<PARAM NAME=""FileName"" VALUE=""http://www.garnierstreamingmedia.com/asx/radio538.asp"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""false"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</script>
Dit werkt allemaal goed. Maar nu wil ik dat de knoppen volgende en vorige gebruikt kunnen worden om er een andere site (bijvoorbeeld noordzee fm) aan te hangen.
Iemand enig idee, want ik ben de weg even kwijt