Drucegrove DragonFly User Manual 1.4
Page 35
Video Element
The video element can be added to a layout. Only the size and position of the video element can be defined in the
layout *.dfx file. Elements cannot be drawn onto a video element, and other canvases cannot overlap a video
element. The video element is only supported by the RE2 and RM2 based DragonFly products, and only one video
element is currently supported.
All of the settings for the video element are stored inside the DFX layout file, but these settings may be overridden in
the Settings.xml file. A VideoSettings section needs to exist in the Settings file with a line to set the OverrideSettings
setting to True, as shown below:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Drucegrove TFT2X Indicator Layout File -->
<!-- Copyright (C) 2012 Drucegrove Ltd -->
<Layout>
<About>
<Name>ExampleLayout</Name>
<Creator>RHF</Creator>
<CreationDate>04/01/2012</CreationDate>
</About>
<IndicatorSettings>
...
...
</IndicatorSettings>
<VideoSettings>
<OverrideSettings>True</ OverrideSettings >
<VideoURL>udp://239.0.0.1:5000</VideoURL>
<HideWhenNoVideo>True</HideWhenNoVideo>
<VideoSizeMode>3</VideoSizeMode>
<AudioVolume>5000</AudioVolume>
<VideoThreadPriority>AboveNormal</VideoThreadPriority>
</VideoSettings>
</Layout>