Postby khilliard » 03 Mar 2010 09:07
Maybe instead of going 'fullscreen' you can set the width and height for the plugin display area to be less than fullscreen. If your TV, for example, is 720x576 then you could set width=720 and height=500. Then you would have screen space to place html buttons/links with javascript event handlers to support vlc stop/pause/etc, either above the video display or below it.
I noticed the same problem when going fullscreen. When you go full screen there are actually 2 windows: your original window (hosting the browser/html web page) and the 'fullscreen' window displaying your video. You can see this (assuming that you're running ubuntu linux) by pressing Alt-tab key to cycle through all the windows. You will see a window hosting your fullscreen video playback, another window displaying the browser/html web page and any other windows on your X-windows. In this scenario the window hosting the html page cannot 'hear' any keyboard/mouse events as it does not have keyboard focus, being hidden by the 'fullscreen' window.
As I plan to use a remote control I have a second option: sending keyboard/mouse events to the window hosting the browser (and the html page containing plug + javascript). With lirc I can direct keys/mouse event to any window. In my case I will send them to the (hidden) browser window. My html will contain event handler to respond to these keys and call the right vlc plugin command (e.g., vlc.playlist.pause()).
Hope this helps.