<media_overlay>

A video to play with options to loop or to clear automatically when it has ended.

If <assign name="" expr=""/> is used within <media_overlay>, the assign will be executed only if a <link> tag is also present and the user clicks the media.


Examples:

<media_overlay>
            <file>my_video.mp4</file>
            <loop>NO</loop>
            <auto_clear>YES</auto_clear>
            <x>0</x>
            <y>50</y>
            <height>150</height>
            <width>225</width>
<next_node>node_1</next_node>
<link>http://www.my_site.com</link>
<assign name="user_clicked_overlay" expr="1"/>
</media_overlay>

To clear the media overlay currently playing, use CLEAR as follows:

<media_overlay>
            <file>CLEAR</file>
</media_overlay>