2011-04-10, 15:45
The last couple of days i'm struggling with the problem, that i can't hide one of the 2 videowindows:
As you can see, the original videowindow (in the left corner) is still showing.
I want to keep both videowindows, only just one at a time in the right view.
For this example the one in the left corner has to be unvisible.
I've used in (BOLD) VideoOverlay.xml:
<control type="group">
<visible>Control.IsVisible(3010)</visible>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
<control type="videowindow" id="1">
<description>Video Preview</description>
<posx>21</posx>
<posy>173</posy>
<width>446</width>
<height>309</height>
<aspectratio>stretch</aspectratio>
</control>
Control.IsVisible(3010) where 3010 is the view number.
I think when playing the trailer XBMC losses the focus on view number 3010, so therefor i don't know how to make one of the video windows unvisible depending on the view number
As you can see, the original videowindow (in the left corner) is still showing.
I want to keep both videowindows, only just one at a time in the right view.
For this example the one in the left corner has to be unvisible.
I've used in (BOLD) VideoOverlay.xml:
<control type="group">
<visible>Control.IsVisible(3010)</visible>
<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
<control type="videowindow" id="1">
<description>Video Preview</description>
<posx>21</posx>
<posy>173</posy>
<width>446</width>
<height>309</height>
<aspectratio>stretch</aspectratio>
</control>
Control.IsVisible(3010) where 3010 is the view number.
I think when playing the trailer XBMC losses the focus on view number 3010, so therefor i don't know how to make one of the video windows unvisible depending on the view number