IceCast is great and easy to install. My only problem is not many people no how to listen to ogg files.(Install capability in WMP or iTunes.) I found an applet that should allow me to embed it on the page through an ogg player. problem is it is a java applet. I have no experience with java. The README says:
Code:
<html>
<head>
</head>
<body>
<applet code="com.fluendo.player.Cortado.class"
archive="cortado.jar"
width="352" height="288">
<param name="url" value="http://localhost/test6.ogg"/>
<param name="local" value="false"/>
<param name="duration" value="232"/>
<param name="keepAspect" value="true"/>
<param name="video" value="true"/>
<param name="audio" value="true"/>
<param name="bufferSize" value="200"/>
<param name="userId" value="user"/>
<param name="password" value="test"/>
</applet>
</body>
</html>
or through javascript
Code:
<html>
<head>
</head>
<body>
<script language="javascript">
function restart() {
document.applets[0].restart();
}
function loadUrl(uri, audio) {
document.applets[0].setParam("audio", audio);
document.applets[0].setParam("url", uri);
restart();
}
</script>
<applet archive="cortado.jar" code="com.fluendo.player.Cortado.class" width="320" height="240">
<param name="url" value="http://localhost:8800"/>
<param name="local" value="false"/>
<param name="framerate" value="5.0"/>
<param name="keepaspect" value="true"/>
<param name="video" value="true"/>
<param name="audio" value="true"/>
</applet>
<br/>
<br/>
<button onClick="restart()">
Restart
</button>
<button onClick="loadUrl('http://localhost:8800', 'true')">
With Audio
</button>
<button onClick="loadUrl('http://localhost:8802', 'false')">
Without Audio
</button>
</body>
</html>
I was wondering if someone could explain this to me or if anyone knows an easier way it would be much appreciated.
Cheers
Snares