Welcome to WebmasterWorld Guest from 54.234.8.146

Forum Moderators: not2easy

Message Too Old, No Replies

windows media player .pls file

     

FiRe

2:25 am on Dec 17, 2006 (gmt 0)

5+ Year Member



Does anyone have the html code to play a live stream from shoutcast (.pls file) in windows media player? I have seen it done before, and it saves the visitor confusion of trying to save the .pls file without winamp installed!?

keyplyr

8:33 am on Dec 18, 2006 (gmt 0)

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



While I'm not entirely sure that the .pls file type is supported (you may need to convert to .wma or .mp3), Microsoft gives us a (free) solution to the stream issue via a cross-browser media player.

This utility and its attributes are exemplified here: http://nunzioweb.com/streaming_audio-example.htm

SteveWh

9:10 am on Dec 18, 2006 (gmt 0)

5+ Year Member



Along the same lines, the WMP equivalent of a playlist for MP3 files is .M3U. It's a text file containing the name of the file to be streamed. If you place a link to the .m3u on your site, when the user clicks on the link, streaming begins. More info at [spartanicus.utvinternet.ie...]

I'm not familiar with Shoutcast, though, so what you're wanting to do may be more complicated than this.

These playlist files may be surprisingly interchangeable. On one website that offered only RealAudio streaming format, I downloaded the playlist text file (.ra or whatever it was), extracted the filename from it, created my own local .m3u file, pasted the filename in there, opened it in WMP, and it streamed just fine.

[edited by: SteveWh at 9:23 am (utc) on Dec. 18, 2006]

tedster

9:11 am on Dec 18, 2006 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Thanks for the help keyplyr.

Even though this thread started in HTML forum, I think we may find more good input in our Multi-media forum, so I'm moving the thread

 

Featured Threads

Hot Threads This Week

Hot Threads This Month