Page 1 of 1

Move player using Video element

Posted: 29 Nov 2006 00:34
by ProjectWho
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.

Posted: 29 Nov 2006 21:26
by ipkiss
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)...