Greetings,
I am on a raspberrypi so I am in desktop/fullscreen mode always. I don’t want the video player to play on the entire screen and to only fit the videowindow. The videowindow works fine on top of my image overlay however since the video is larger than the videowindow, it overflows and only shows a portion of the video. How do I make the video player fit inside?
I tried scouring the forums but I haven’t seen any solution/information to my current problem. I am familiar with coding but am new to this type of coding. Would appreciate any help or additional info! Thank you in advance
Image sample of what I need:
VideoFullScreen.xml:
<?xml version="1.0" encoding="utf-8"?>
<window id="11190" type="window">
<controls>
<control type="image" id="11191">
<description>Overlay image</description>
<left>0</left>
<top>0</top>
<width>1920</width>
<height>1080</height>
<visible>true</visible>
<texture>/home/myuser/Desktop/test.jpg</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="videowindow" id="11192">
<left>0</left>
<top>0</top>
<width>1536</width> <!-- 80% of 16:9 -->
<height>864</height>
<visible>true</visible>
<aspectratio>scale</aspectratio>
</control>
</controls>
</window>