Code: Select all
<html>
<title>VLC plugin</title>
<script language="javascript">
function play(obj, uri) {
var obj = document.getElementById(obj);
obj.playlist.add(uri,uri, "");
obj.playlist.play();
}
function stop(obj) {
var obj = document.getElementById(obj);
obj.playlist.stop();
}
function init() {
play('vlc1', 'rtsp://192.168.0.101:7070');
}
</script>
<body>
<OBJECT>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="720"
height="576"
rtsp-caching="80"
id="vlc1">
</embed>
</OBJECT>
<button onclick="play('vlc1', 'rtsp://192.168.0.101:7070');">start</button>
<button onclick="stop('vlc1');">stop</button>
</body>
</html>
Is this possible to do for the VLC plugin?
rtsp-caching="80" does not work.