Disable double click to go fullscreen in mozilla plugin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
gaspare.novara
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2009 17:14

Disable double click to go fullscreen in mozilla plugin

Postby gaspare.novara » 10 Jul 2009 17:27

I am running VLC within Firefox in a kiosk-type enviroment. I would like to be able to disable users from double-clicking on video to make it go fullscreen.

I cannot see any command-line options to do this at the moment.

Is it possible to have this option added to the VLC code?exsist a mozzilla plugin with this functionality disabled?

How I can resolve this problem?

Regards


Gaspare Novara

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby erwan10 » 10 Jul 2009 21:12

Which platform Linux, Mac or Windows ?

With vlc1.0.0 on Linux, the --vout-event parameter (see vlc -H for details) allows deactivating all hotkeys and mouse interactions. Not sure it is implemented for other platforms.

Erwan10

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby VLC_help » 11 Jul 2009 16:14

--vout-event={1 (Full support), 2 (Fullscreen-only), 3 (None)}
key and mouse event handling at vout level.
This parameter accepts values : 1 (full event handling support), 2
(event handling only for fullscreen) or 3 (No event handling). Full
event handling support is the default value.
http://wiki.videolan.org/VLC_command-line_help

should work for win32.

gaspare.novara
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2009 17:14

Re: Disable double click to go fullscreen in mozilla plugin

Postby gaspare.novara » 13 Jul 2009 09:58

I use vlc-0.9.9-win32 and I work under Windows XP and use Mozzilla Plugin with this parameter:
ParameterMap.put("AutoLoop", "true");
ParameterMap.put("ShowDisplay","false");
ParameterMap.put("FullScreen", "false");


I can try vout-event ?
Thanks


Gaspare Novara

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby VLC_help » 13 Jul 2009 13:29

AFAIK vout-event isn't in 0.9.x

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Disable double click to go fullscreen in mozilla plugin

Postby kryptonite » 31 Jul 2009 10:48

Has anyone successfully used the --vout-event option on Windows?
I'm using release 1.0.1 but the doubleClick:fullscreen always works (tried values 2, 3)

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Disable double click to go fullscreen in mozilla plugin

Postby thannoy » 31 Jul 2009 10:52

vout-event is not yet tagged as safe to be used with the activex. A pending patch contains this on the devel mailing list, not applied yet and not sure it will be packported on 1.0.x.

edit: "tagged as safe" is required for a moz-plugin usage as well

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Disable double click to go fullscreen in mozilla plugin

Postby kryptonite » 31 Jul 2009 11:10

Uh-oh :(
I need to get co-ordinates on a mouse left-click event & proceed.
Anyone else with similar requirements/workarounds?
Mine is a Java based app - needs to work on Windows & Linux for now (Mac is later in the pipeline)

Thanks!

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby erwan10 » 31 Jul 2009 11:40

What about setting --vout-event at the global level (in vlcrc file) ?

It is not yet? tagged as safe when passed explicitly when launching a video, but it should work if set up as a global parameter (by editing the vlcrc file)

Erwan10

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Disable double click to go fullscreen in mozilla plugin

Postby thannoy » 31 Jul 2009 12:20

ActiveX and Mozilla Plugin send "--ignore-config" to libvlc_new(). vlcrc settings are currently not used in web plugins.

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Disable double click to go fullscreen in mozilla plugin

Postby kryptonite » 31 Jul 2009 13:31

What about setting --vout-event at the global level (in vlcrc file) ?

It is not yet? tagged as safe when passed explicitly when launching a video, but it should work if set up as a global parameter (by editing the vlcrc file)

Erwan10
I tried a simple experiment on my Windows m/c:
Edited vlcrc: vout-event=3 [Was originally #vout-event=1]

Saved & Closed
Opened VLC player & played a video file (flv, avi)
Once playing, double-click on video and it switches to fullscreen mode.

Hope I tried the right thing.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby erwan10 » 31 Jul 2009 14:17

just checked the code. As I feared, --vout-event is only implemented for Linux ... Windows and Mac don't test it

@ thannoy, you're right about --ignore-config. Security measures are really painful sometimes

Erwan10

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Disable double click to go fullscreen in mozilla plugin

Postby thannoy » 31 Jul 2009 14:50

--vout-event is only implemented for Linux ... Windows and Mac don't test it
Well. Its deprecated name was "--x11-event". Renamed since vlc 1.0.0 :)

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: Disable double click to go fullscreen in mozilla plugin

Postby erwan10 » 31 Jul 2009 19:38

Well. Its deprecated name was "--x11-event". Renamed since vlc 1.0.0 :)
Name was changed with the hope other platforms would support it as well .... it's still a hope !

Erwan10

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Disable double click to go fullscreen in mozilla plugin

Postby kryptonite » 05 Aug 2009 08:37

Just incase there's someone using Java with a similar requirement, and doesn't want the C++ and JNI solution, JNA will help.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 30 guests