Move & resize a 'windowed' videoplayer (videowindow type control)

How do I move / resize videowindow type control?

I have a control  defined in an XML as follows:

        <control type="videowindow" id="300">
            <description>video window</description>

I can interact with it via the xbmc.Player() class, but I can't seem to alter the control directly.  

example:  the following fails with - RuntimeError: Unknown control type for python

self.vidPlayer  = self.getControl(300)

How do i alter a videowindow type control created via XML? (change size and position)


Is there anyway to set the stretch type for a windowed video window programatically?  e.g. set it to stretch_16x9 as part of sending a xbmc.Player().play() command (or just before /after)?

Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
Move & resize a 'windowed' videoplayer (videowindow type control)00
This forum uses Lukasz Tkacz MyBB addons.