I would like to embed button two and one for the rest, one for full screen.
Who can help me?
Code: Select all
<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', 'http://192.xxx.xxx.x/1.flv');
}
</script>
<OBJECT>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="500"
height="480"
rtsp-caching="80"
id="vlc1">
</embed>
</OBJECT>
<button onclick="play('vlc1', 'http://192.xxx.xxx.x/1.flv');">start</button>
<button onclick="stop('vlc1');">stop</button>