Move player using Video element

About usage, announcement and development of skins for VLC
ProjectWho
New Cone
New Cone
Posts: 1
Joined: 29 Nov 2006 00:20

Move player using Video element

Postby ProjectWho » 29 Nov 2006 00:34

Although I believe my question is simple I couldn't find an answer in the documentation or by searching the forums... sorry if I missed something.

What I want to do is allow the entire player to be moved by dragging the portion that displays video. Essentially I want something like this to work :

<Video x="0" y="0" width="313" height="313" lefttop="lefttop" rightbottom="rightbottom" action="move" />

Is there anyway to do this? Any built in way, some trick or workaround?

The guide on skin creation says this about the video tag :
This control is still under development and its behavior may change a lot in the future.

Is it possible that this feature is on CVS or in one of the nightly builds?

Thanks for any help.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 29 Nov 2006 21:26

This is not possible. The main reason for this is that the video control already intercepts mouse events, for various purposes: navigation in a DVD or SVCD menu, mouse gestures, even some hotkeys. All these features would not work anymore if the video is used to move the window.
But i agree that when no video is playing the empty video control could be used to move the window (or rather be "transparent" so that the control below decides what to do)...


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 58 guests