audio streaming

liunx

Guest
I have two servers, one of which allows audio streaming in or out and the other only allows streaming audio in. I would like to store the audio files on the first server and play them from the second server.<br />
<br />
A present I use embed to play the music on either server using the following code:<br />
<br />
<embed SRC=http://www.webdeveloper.com/forum/archive/index.php/"music/audiofile.wma"<br />
AUTOSTART="false" VOLUME="100"<br />
WIDTH="300" HEIGHT="45"<br />
LOOP="true"><br />
<br />
<br />
This requires that the audio file to be saved on the particular server where the sound will be played. How can I change this code to stream the sound from one server to the other?<!--content-->Not sure with *.wma format but the *.mp3 you can use the *.m3u shortcut link I assume with *.wma there is an similar method so on server 2, you use a full path <!-- m --><a class="postlink" href="http://www.mysite1.com/musicfile.wma">http://www.mysite1.com/musicfile.wma</a><!-- m --><!--content-->wma is audio format by mircrosoft just compressed without loss of quality.<br />
<br />
I take it you mean to use this code:<br />
<embed SRC=http://www.webdeveloper.com/forum/archive/index.php/"http/mydomain.com/music/audiofile.wma" <br />
AUTOSTART="false" VOLUME="100" <br />
WIDTH="300" HEIGHT="45" <br />
LOOP="true"> <br />
<br />
I have tried that and it does not work. The embed seems to be the problem, but if it is removed then nothing will show on the webpage<br />
<br />
Still open to suggestions Thank You<!--content-->I was thinking of *.asf and *.asx actually you might have to create a Windows Media Metafile - if you require the stream rather than just a Download <!--more--> link - I assume you will be using the Windows Media Encoder.<!--content-->
 
Back
Top