[vlc] using javascript in mozilla with VLC plugin

tyu tom pompom4545 at yahoo.fr
Fri Sep 19 18:14:57 CEST 2003


I would like to use javascript in mozilla when playing
video with VLC plugin.
I have to put the mouse pointer outside of the video
area in order to enable javascript use.
So during fullscreen mode, it's impossible to use
javascript.  

can someone help me.....


here is the code :

<html>



<head>

<title>zapping</title>

<SCRIPT LANGUAGE=javascript>

<!--

document.onkeyup = onKeyUp



function onKeyUp(evt)

{



	var code = evt.which



	switch (code)

	{

	

	case 38:

		top.location.href = "3.html"

		break

	

	case 40:

		top.location.href = "2.html"

		break

	

	}



	

}

	

//-->

</SCRIPT>


</head>

<body text=#000000 bgcolor=#000000 link=#000080
vlink=#800000 alink=#000080>

<center>



<center>  
<embed type="application/x-vlc-plugin" name="video1"
autoplay="yes" loop="yes"  
width="800" height="600" 
target="udp:@224.1.1.1";>
</center>



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list