Page 1 of 1
Streaming .pl[b][/b]s files
Posted: Sun Jun 05, 2005 3:03 pm
by theda
Does anyone know of a code that would stream .pls (Shoutcast radio files) on a website? As in embedded .pls files? I know <embed> but it doesn't work for .pls files...
Edit: Ignore the bold tags in the title. For some reason typing .pls turns into .please without them.
Posted: Sun Jun 05, 2005 3:23 pm
by Roja
Shoutcast files don't stream without a player for them. The players for shoutcast (winamp) do not offer a web-plugin that embeds them to pages.
The closest you can come is with the object tag, which will open the player if the player is already associated with that file type.
Posted: Sun Jun 05, 2005 3:44 pm
by theda
Actually, .pls also plays in Quicktime and RealPlayer, and both have web-plugins.
Posted: Sun Jun 05, 2005 4:19 pm
by Roja
theda wrote:Actually, .<span style='color:blue' title='ignorance is bliss'>please</span> also plays in Quicktime and RealPlayer, and both have web-plugins.
Huh.. you learn something new everyday.
Posted: Sun Jun 05, 2005 4:57 pm
by theda
Still waiting for an answer

Posted: Sun Jun 05, 2005 5:06 pm
by Roja
theda wrote:Still waiting for an answer

The answer is there, its just not clear, so let me help.
If the user has Quicktime or Realplayer installed, then you should get an embedded player if you code it right.
Of course, you can just read it from the horses mouth:
Apple's page on playing shoutcast streams in a webpage, using the quicktime player.
Posted: Sun Jun 05, 2005 6:27 pm
by theda
Um, I tried that, but it didn't quite work... It just showed some quicktime symbol and never loaded the stream.