2007-08-20, 19:07
I'm trying to get visualisation/videowindow in my skin, using the following code (in includes.xml):
But the background stays black:
When i try a video, it does show up. (the videocounter is visible in win32)
As the code for the visualisation is the same, it should work, no?
Another problem i'm having:
The border has to be invisible when the video doesn't have a thumbnail.
I tried with:
But that does not seem to work.
Anyone that can help?
Code:
<include name="background">
<control type="visualisation">
<description>visualisation</description>
<posx>0</posx>
<posy>550</posy>
<width>1280</width>
<height>170</height>
<visible>!Skin.HasSetting(HomeViewToggle)</visible>
</control>
<control type="videowindow">
<description>video preview window</description>
<posx>0</posx>
<posy>550</posy>
<width>1280</width>
<height>170</height>
<visible>!Skin.HasSetting(HomeViewToggle)</visible>
</control>
<control>
<description>stonebackground</description>
<type>image</type>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texture>stenen.png</texture>
<visible>!Player.HasMedia | Skin.HasSetting(HomeViewToggle)</visible>
<include>startup-image</include>
</control>
But the background stays black:
When i try a video, it does show up. (the videocounter is visible in win32)
As the code for the visualisation is the same, it should work, no?
Another problem i'm having:
The border has to be invisible when the video doesn't have a thumbnail.
I tried with:
Code:
<visible>Container.HasThumb</visible>
Anyone that can help?