Re: Tips on adding sound files




"BMc" <bethpi11@xxxxxxxxx> wrote in message
news:13rcfgaqkp92t67@xxxxxxxxxxxxxxxxxxxxx
Anyone have any experience with this sort of thing? The files are about
7mb each as they are about 15-20 min long. I do not want to stream them.


Although this is probably not technically the correct group, I have a small
piece of advice you and your visitors may find useful. You say you do not
wish to stream the files, but the method I describe will at least allow
people to listen to the file while it is downloading (assuming compatible
software and bandwidth).

As well as linking directly to the mp3 file, create a file with the
extension .m3u which contains only the URL of the mp3 file:

<a href="http://www.mysite.example/myfile.mp3";>Download file</a>

<a href="http://www.mysite.example/myfile.m3u";>Play file</a>

The contents of myfile.m3u would be simply:
"http://www.mysite.example/myfile.mp3"; without the quotation marks.

You can see this method in action on this page:
http://www.doctorbusker.com/music.php


--
-=# Amos E Wolfe #=-


.



Relevant Pages

  • [Newbie]Problem writing streaming audio using NetworkStream
    ... will generate a list of files and stream them to a port on my computer. ... I'm not sure if this is the correct way to load an mp3 file and stream ... I'm loading the mp3 file into a byte array, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: .m3u files
    ... URL files containing the URL of the actual mp3 file. ... Have you tried playing around with DigitalCD's streaming function? ... DigitalCD will then insert in the playlist an entry for each stream ... inserted entry in the usual manner." ...
    (comp.sys.acorn.misc)
  • Update mp3 file during playback?
    ... I am currently using Windows Media player to stream a single mp3 file ... Is there a way to "update" or refresh the song currently being played? ...
    (microsoft.public.windowsmedia.player.web)
  • Transfering vb.net Bit Stream to windows media player control
    ... I have an mp3 file on my hardrive that I want to process as a bit ... stream and send it into windows mediaplayer. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • play mp3 from stream (not from file)
    ... I'm new to DirectX. ... I'm looking for a way to play a mp3 file from a stream, ...
    (microsoft.public.win32.programmer.directx.managed)