Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to play/pause a movie just by clicking on the window? I really miss this feature from Media Player Classic, but from what I could find, it's not possible in VLC.

share|improve this question
    
I`ve anwered something in a similar post there: superuser.com/questions/1092273/… – Mark Jun 22 at 19:03

If you right click on the VLC window a menu list comes up with play, pause and more yepon it. I use this all the time.

share|improve this answer
1  
It's ok, but not what I want. I want to left click and pause. – alex Aug 5 '10 at 20:56
    
just a related tip: drag with right mouse button in the direction of "play/pause" option instead. it's a bit faster and barely worse than single click play/pause – a13ph May 20 '14 at 22:16

I've created lua extension for doing exactly what you want to do. Please check project at github or videolan addons page

share|improve this answer
1  
Aaand... from the project page: "You need to tick it every time you open VLC. This is a limitation of VLC lua api." Why in the hell this has to be so hard ?! – Halil Özgür Oct 20 '13 at 23:57
    
@HalilÖzgür: as you noticed, "This is a limitation of VLC lua api." +1, but indeed, the need to tick it every time you open VLC is a big downside – cipricus Dec 7 '13 at 16:17
3  
Why on earth it's so hard to bind primary click to play/pause in such a popular player? This shouldn't even need an extension. And then, the requirement of the extension is ridiculous, regardless of the origin. For this reason I'm using SMPlayer. – Halil Özgür Dec 7 '13 at 21:46
    
Even worse, this extension doesn't work with newer versions of vlc. The vlc.var.add_callback method has been removed from the lua API. I am unaware of another way to bind functions in a lua extension to a key. – con-f-use Jan 2 at 14:53
2  
It's true, seems like there is no way to do this with lua anymore. Instead, take a look at nurupo's pause-click-plugin Worked for me some time ago. – 3demax Jan 9 at 19:27

There is a tool called Nifty Windows, it allows you to associate an action with a press of the mouse. These actions can be key combinations, or execution of a program.

Hope this helps.

share|improve this answer
1  
Not a bad idea, although a bit overkill :). – alex Aug 5 '10 at 20:57
    
of course! but that's the only way i know of! – bryan Aug 5 '10 at 22:24
    
does that work in Vista, win7 and above? – cipricus Dec 7 '13 at 16:22
    
It worked in Vista and Windows 7. Have not tried in Windows 8 – bryan Dec 9 '13 at 19:01

This extension of VLC does pause/play with a single click on the screen. It works with versions 2.1, 2.2 and 3.0.

share|improve this answer

I am using X-mouse button control and it does exactly what you are asking.

Only be sure to use "simulated keys" {SPACE} and untick "block original mouse input" to allow double clicking.

share|improve this answer

A funny alternative to left-click would be mouse gestures, as indicated here:

- enable mouse gestures in VLC
- select left mouse button
- left-click & a quick left-right (or right-left) movement to play/pause.

The result is real... but you have to avoid other two very similar gestures:

 Move left: Navigate 10 seconds backward 
 Move right: Navigate 10 seconds forward

DETAILS:

Go to Tools > Preferences [CTRL + P].

Click on All under show settings to go to Advanced settings.

Navigate to Interface > Control interfaces.

Check the option that says Mouse gestures control interface.

enter image description here

Navigate further down to Interface > Control interfaces > Gestures.

enter image description here

To toggle play or pause: click the mouse button you selected and move left and then right: (Also works if you move right and then left)

But the mouse gestures are not customizable (and you cannot chose to disable some of those you don't need). Therefore, avoid other moves like up and down to avoid making other gestures and trigger other actions like down and then left which quits the player


For reference, the list of all gestures:

Move left: Navigate 10 seconds backward
Move right: Navigate 10 seconds forward
Move up: Increase volume
Move down: Decrease volume
Move left and then right: Toggle play or pause (Also works if you move right and then left)
Move up and then down: Mute volume (Also works if you move down and then up)
Move left and then up: Slow down playing speed
Move right and then up: Increase playing speed
Move left and then down: Play previous track of playlist
Move right and then down: Play next track in playlist
Move up and then right: Switch the audio track
Move down and then right: Switch the subtitle track
Move up and then left: Enables full screen
Move down and then left: Exit VLC media player
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .