Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

windows media player .pls file

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

Full Member

10+ Year Member

joined:Aug 9, 2005
votes: 0

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!?
8:33 am on Dec 18, 2006 (gmt 0)

Moderator from US 

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

joined:Sept 26, 2001
votes: 508

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

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

Preferred Member

10+ Year Member

joined:July 25, 2006
votes: 0

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]

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

Senior Member

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

joined:May 26, 2000
votes: 0

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


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members