Can VideoOverlay be used in a script?
#1
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
Reply
#2
Yes you can use VideoOverlay in scripts.
Just add a videowindow control to your window.xml.

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

Logout Mark Read Team Forum Stats Members Help
Can VideoOverlay be used in a script?0