[vlc] Re: using javascript in mozilla with VLC plugin

boni at dpc4.score.com boni at dpc4.score.com
Fri Sep 19 20:00:22 CEST 2003


           It seems you are trying do displaying video via vlc
   plugin onto the mozilla browser, if this is true it  will
   be very interesting . i would like to know if you are successfull,
   i have in mind doing this stuff too. it will shorten my time in
   research of doing so.

On Fri, 19 Sep 2003, =?iso-8859-1?q?tyu=20tom?= wrote:

> 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>
> 
> 

-- 
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