2011-10-20, 17:32
In case you still some sample code use the following for the last button in Confluence's VideoOSD.xml.
You'll see that when you press right on the DVD menu button it will open up the Videos window but if you add back in the <enable> control (code code below) you'll get to the Bookmarks button and it wont let you skip and open Videos.
Thanks.
EDIT: I also tried using a grouplist and adding <onleft>ActivateWindow(51)</onleft> control to that but that wont open the window at all.
PHP Code:
<control type="button" id="705">
<posx>180</posx>
<posy>0</posy>
<width>45</width>
<height>45</height>
<label>31355</label>
<font>-</font>
<texturefocus>OSDDvdFO.png</texturefocus>
<texturenofocus>OSDDvdNF.png</texturenofocus>
<onleft>704</onleft>
<onright>ActivateWindow(videos)</onright>
<onup>1000</onup>
<ondown>1000</ondown>
<onclick>PlayerControl(ShowVideoMenu)</onclick>
<animation effect="fade" start="100" end="50" time="100" condition="!VideoPlayer.HasMenu">Conditional</animation>
</control>
You'll see that when you press right on the DVD menu button it will open up the Videos window but if you add back in the <enable> control (code code below) you'll get to the Bookmarks button and it wont let you skip and open Videos.
PHP Code:
<control type="button" id="705">
<posx>180</posx>
<posy>0</posy>
<width>45</width>
<height>45</height>
<label>31355</label>
<font>-</font>
<texturefocus>OSDDvdFO.png</texturefocus>
<texturenofocus>OSDDvdNF.png</texturenofocus>
<onleft>704</onleft>
<onright>ActivateWindow(videos)</onright>
<onup>1000</onup>
<ondown>1000</ondown>
<onclick>PlayerControl(ShowVideoMenu)</onclick>
<enable>VideoPlayer.HasMenu</enable>
<animation effect="fade" start="100" end="50" time="100" condition="!VideoPlayer.HasMenu">Conditional</animation>
</control>
Thanks.
EDIT: I also tried using a grouplist and adding <onleft>ActivateWindow(51)</onleft> control to that but that wont open the window at all.