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.
Child of: <click>, <drag_drop>, <drag_move>, <mouse_click>, <mouse_down>, <mouse_move>, <mouse_out>, <mouse_over>, <node name="">, <press>, <release>
Parent of: <file>, <loop>, <auto_clear>, <x>, <y>, <height>, <width>, <next_node>, <link>, <assign name="" expr=""/>
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>