/    Sign up×
Community /Pin to ProfileBookmark

audio streaming

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.

A present I use embed to play the music on either server using the following code:

<embed SRC=”music/audiofile.wma”
AUTOSTART=”false” VOLUME=”100″
WIDTH=”300″ HEIGHT=”45″
LOOP=”true”>

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?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@Robert_WellockOct 07.2003 — 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 http://www.mysite1.com/musicfile.wma
Copy linkTweet thisAlerts:
@fawnauthorOct 07.2003 — wma is audio format by mircrosoft just compressed without loss of quality.

I take it you mean to use this code:

<embed SRC="http/mydomain.com/music/audiofile.wma"

AUTOSTART="false" VOLUME="100"

WIDTH="300" HEIGHT="45"

LOOP="true">

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

Still open to suggestions Thank You
Copy linkTweet thisAlerts:
@Robert_WellockOct 08.2003 — 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 link - I assume you will be using the Windows Media Encoder.
×

Success!

Help @fawn spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...