PDA

View Full Version : Can VideoOverlay be used in a script?


rodejo16
2009-06-14, 16:03
I use the following command to activate the video overlay window in a script:

xbmc.executebuiltin("xbmc.ActivateWindow(VideoOverlay)")

The result is that the video overlay window is displayed for about 0.5 seconds and disappears again.

It seems that using the video overlay window cannot be used inside a script window. Can someone confirm this or let me know if there is a working solution?

Thanks,

Rodejo

MrLight
2009-06-14, 17:48
Yes you can use VideoOverlay in scripts.
Just add a videowindow control to your window.xml.


<control type="videowindow">
<description>video preview window</description>
<posx>0</posx>
<posy>0</posy>
<width>425</width>
<height>350</height>
</control>

You can also toggle the visibility or add animations...