Problem with directional controls and skipping
#6
In case you still some sample code use the following for the last button in Confluence's VideoOSD.xml.

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.
Reply


Messages In This Thread
[No subject] - by `Black - 2011-10-19, 19:33
[No subject] - by Hitcher - 2011-10-19, 19:36
[No subject] - by `Black - 2011-10-19, 19:42
[No subject] - by pieh - 2011-10-20, 07:56
[No subject] - by Hitcher - 2011-10-20, 17:32
[No subject] - by Hitcher - 2011-10-23, 10:59
[No subject] - by pieh - 2011-10-23, 19:27
[No subject] - by Hitcher - 2011-10-23, 21:10
[No subject] - by pieh - 2011-11-01, 01:33
Logout Mark Read Team Forum Stats Members Help
Problem with directional controls and skipping0