Ola Anderson.
O arquivo Lua não trabalha com vídeos. Para redimensionar o vídeo,
antes de você iniciar a aplicação Lua, redimensione o vídeo no próprio
NCL.
Segue um código exemplo.
<connectorBase>
<causalConnector id="onKeySelectionTestSet">
<connectorParam name="keyCode"/>
<connectorParam name="varTest"/>
<connectorParam name="varSet"/>
<compoundCondition operator="and">
<simpleCondition role="onSelection" key="$keyCode"/>
<assessmentStatement comparator="eq">
<attributeAssessment attributeType="nodeProperty"
eventType="attribution" role="testProperty"/>
<valueAssessment value="$varTest"/>
</assessmentStatement>
</compoundCondition>
<simpleAction max="unbounded" qualifier="par" role="set"
value="$varSet"/>
</causalConnector>
</connectorBase>
O "verTest" verifica o tamanho atual do vide e o "varSet" passa um
novo parametro.
<!-- Redimensiona o video -->
<link xconnector=" onKeySelectionTestSet">
<bind role="onSelection" component="Video1">
<bindParam name="keyCode" value="INFO"/>
</bind>
<bind role="testProperty" component="Video1"
interface="isResized">
<bindParam name="varTest" value="false"/>
</bind>
<bind role="set" component="Video1" interface="isResized">
<bindParam name="varSet" value="true"/>
</bind>
<bind role="set" component="Video1" interface="bounds">
<bindParam name="varSet" value="55%, 26%, 40%, 40%"/>
</bind>
</link>
<link xconnector=" onKeySelectionTestSet">
<bind role="onSelection" component="Video1">
<bindParam name="keyCode" value="RED"/>
</bind>
<bind role="testProperty" component="Video1"
interface="isResized">
<bindParam name="varTest" value="true"/>
</bind>
<bind role="set" component="Video1" interface="isResized">
<bindParam name="varSet" value="false"/>
</bind>
<bind role="set" component="Video1" interface="bounds">
<bindParam name="varSet" value="0, 0, 250%, 250%"/>
</bind>
</link>
É importante que a mídia tenha a propriedade “bound” e seja dado um
value =”falce” .
<media id="Video1" src="media/video1.mpg" descriptor="DVideo1">
<property name="bounds"/>
<property name="isResized" value="false"/>
</media>
Espero ter ajudado.