Draft

<?xml version="1.0" encoding="utf-8"?>
<app xmlns="http://www.neoplayer.net/ns/0.1">
	<config>
		<param name="autoplay" value="false"/>
		<param name="showstop" value="true"/>
	</config>
	<actions>
		<action name="myPlayFunction" param1="myVideo">
			<exec internal="net.neoplayer.utils.UIUtil.hide" param1="playButton"/>
			<exec internal="net.neoplayer.utils.UIUtil.show" param1="pauseButton"/>
			<exec internal="net.neoplayer.utils.VideoUtil.play" param1="${param1}"/>
		</action>
		<action name="myPauseFunction" param1="myVideo">
			<exec internal="net.neoplayer.utils.UIUtil.hide" param1="pauseButton"/>
			<exec internal="net.neoplayer.utils.UIUtil.show" param1="playButton"/>
			<exec internal="net.neoplayer.utils.VideoUtil.pause" param1="${param1}"/>
		</action>
		<macro name="myStopFunction" internal="net.neoplayer.utils.VideoUtil.stop" param1="myVideo"/>
		<action name="videoComplete">
			<exec action="myStopFunction"/>
		</action>
	</actions>
	<document layout="absolute">
		<img src="..."/>
		<vbox>
			<video id="myVideo" autoPlay="${autoplay}" onComplete="videoComplete"/>
			<hbox height="20">
				<button id="playButton" click="myPlayFunction">play</button>
				<button id="pauseButton" click="myPauseFunction" visible="false">pause</button>
				<button id="stopButton" click="myStopFunction" visible="${showstop}">stop</button>
				<mediaSlider target="myVideo"/>
			</hbox>
		</vbox>
	</document>
</app>

Plus court:

<?xml version="1.0" encoding="utf-8"?>
<app xmlns="http://www.neoplayer.net/ns/0.1">
	<config>
		<param name="autoplay" value="false"/>
		<param name="showstop" value="true"/>
	</config>
	<actions>
		<macro name="videoComplete" internal="net.neoplayer.utils.VideoUtil.stop" param1="myVideo"/>
	</actions>
	<document layout="absolute">
		<img src="..."/>
		<vbox>
			<video id="myVideo" autoPlay="${autoplay}" onComplete="videoComplete"/>
			<hbox height="20">
				<videoPlayPauseButton target="myVideo"/>
				<videoStopButton target="myVideo" visible="${showstop}"/>
				<mediaSlider target="myVideo"/>
			</hbox>
		</vbox>
	</document>
</app>

Ou encore:

<?xml version="1.0" encoding="utf-8"?>
<app xmlns="http://www.neoplayer.net/ns/0.1">
	<config>
		<param name="autoplay" value="false"/>
		<param name="showstop" value="true"/>
	</config>
	<actions>
		<macro name="videoComplete" internal="net.neoplayer.utils.VideoUtil.stop" param1="myVideo"/>
	</actions>
	<document layout="absolute">
		<img src="..."/>
		<vbox>
			<video id="myVideo" autoPlay="${autoplay}" onComplete="videoComplete"/>
			<videoControls target="myVideo" showStop="${showstop}"/>
		</vbox>
	</document>
</app>