_some_guy
04-10-2006, 02:33 AM
I have a link, that when I click on it, I would like to open a window, and play an MP3 file, by passing the MP3 filename to the new window.
I am currently using the following CODE (in the new window's .HTM file), to play the MP3s - it works great, but I have over 200 MP3s to do this with, and I don't want to make 200+ .HTM pages.
<object id="mediaplayer1" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" width="330" height="45">
<param name="filename" value="(url of filename).mp3">
<param name="animationatstart" value="1">
<param name="transparentatstart" value="1">
<param name="autostart" value="1">
<param name="showcontrols" value="1">
<param name="showpositioncontrols" value="1">
<param name="volume" value="0">
</object>
Any help would be greatly appreciated!
Thanks.
:)
I am currently using the following CODE (in the new window's .HTM file), to play the MP3s - it works great, but I have over 200 MP3s to do this with, and I don't want to make 200+ .HTM pages.
<object id="mediaplayer1" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" width="330" height="45">
<param name="filename" value="(url of filename).mp3">
<param name="animationatstart" value="1">
<param name="transparentatstart" value="1">
<param name="autostart" value="1">
<param name="showcontrols" value="1">
<param name="showpositioncontrols" value="1">
<param name="volume" value="0">
</object>
Any help would be greatly appreciated!
Thanks.
:)