document.onkeydown = getKeycode and fullscreen
Posted: 30 Oct 2007 17:30
hello
this is my problem: look at this code
<script>
function getKeycode(e)
{
var msg=" pause sarĂ disattivato tra 5 secondi";
var blnkey = e.which
document.frmMain.txtShowKey.value = "Keycode2 = " + blnkey;
if (blnkey=='32'){
document.video1.pause();
window.setTimeout("doRedirect()", 15000);}
}
document.onkeydown = getKeycode;
</script>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="yes"
loop="no" hidden="no" fullscreen=no ShowTracker=0
target="http://192.168.168.111/cond/talos.ts";>
</embed>
<br >
<a href="javascript" </a>
<input type=button value="Play/Pause" onClick='document.video1.pause();'>
<input type=button value="Stop" onClick='conferma();'>
<input type=button value="Fullscreen" onClick='document.video1.fullscreen();'>
<form name="frmMain">
<input type="text" name="txtShowKey">
with it I'm able to control use of keyboard, but I want to get it even I write fullscreen=yes
someone can help me?
this is my problem: look at this code
<script>
function getKeycode(e)
{
var msg=" pause sarĂ disattivato tra 5 secondi";
var blnkey = e.which
document.frmMain.txtShowKey.value = "Keycode2 = " + blnkey;
if (blnkey=='32'){
document.video1.pause();
window.setTimeout("doRedirect()", 15000);}
}
document.onkeydown = getKeycode;
</script>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="yes"
loop="no" hidden="no" fullscreen=no ShowTracker=0
target="http://192.168.168.111/cond/talos.ts";>
</embed>
<br >
<a href="javascript" </a>
<input type=button value="Play/Pause" onClick='document.video1.pause();'>
<input type=button value="Stop" onClick='conferma();'>
<input type=button value="Fullscreen" onClick='document.video1.fullscreen();'>
<form name="frmMain">
<input type="text" name="txtShowKey">
with it I'm able to control use of keyboard, but I want to get it even I write fullscreen=yes
someone can help me?