Kodi Community Forum
Video Playback With Image Overlay, Can it be done? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Video Playback With Image Overlay, Can it be done? (/showthread.php?tid=21337)

Pages: 1 2 3


- DaSingh - 2006-08-04

EricJD Wrote:Sorry...new video link:
http://www.youtube.com/watch?v=xK-pelKClZ4

Hi wow that looks great and exactly what I wanted... Could you post your code step by step if you dont mind, as at the moment its not working for me...


- EricJD - 2006-08-04

I added this to MusicVisualization.xml:
Code:
    <control>
            <description>logo overlay</description>
            <type>image</type>
            <id>2</id>
            <posx>50</posx>
            <posy>50</posy>
            <width>100</width>
            <height>100</height>
            <texture>overlay_logo.png</texture>
            <aspectratio>keep</aspectratio>
            <visible>Skin.HasSetting(logo)</visible>
        <animation effect="fade" time="500">WindowOpen</animation>
        <animation effect="fade" time="500">VisibleChange</animation>
         </control>
And this to the keymap:
Code:
<five>Skin.ToggleSetting(logo)</five>
Just edit the size/position/PNG name to your liking Smile

I can't test fullscreen video right now, though; my Xbox remote just died on me Blush


- DaSingh - 2006-08-04

Im assuming the same would work if I pasted it in VideoFullScreen.xml

going to test now.


- DaSingh - 2006-08-04

Worked perfectly Thank you all.. By mistake I was pasting the code out side the <controls> thinking it was the same as <control> all is working now..

Reps left Big Grin