1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| <html>
<head><title>MOVIE</title></head>
<SCRIPT LANGUAGE="JavaScript">
function openindex(video)
{
document.write("<HTML>");
document.write("<EMBED TARGET='"+video+"' AUTOSTART=true TYPE=application/x-vlc-plugin ID=vlc WIDTH=80% HEIGHT=60%></EMBED>");
document.write("</HTML>");
}
function mute(){
vlc.audio.toggleMute();
}
function play(){
vlc.playlist.play();
intval = setInterval(uptime, 250);
}
function stop(){
clearInterval(intval);
vlc.playlist.stop();
}
function pause(){
vlc.playlist.togglePause();
}
</SCRIPT>
<body bgcolor="#3399FF">
<a href="#" onClick="javascript:openindex('udp://@224.0.0.1:1234');">FIm1</a>
<a href="#" onClick="javascript:openindex('udp://@224.0.0.2:1234');">Film2</a>
<br>
<br>
<script type="text/javascript">
</script>
<img src="btn_lecture.gif" border=0 onclick='play();' />
<img src="btn_pause.gif"border=0 onclick='pause();' />
<img src="btn_stop.gif" border=0 onclick='stop();' />
<img src="btn_silence.gif" border=0 onclick='mute();' />
</div>
</font>
</body>
</html |
Partager