Media Player remote control interface

I am attempting to use the media player remote control interface to show
mpegs intermittently from another program. However, the CMD_PLUGIN_CLOSE
command is not allowed as a remote control interface call.
How can I hide the media player mpeg window until I want to show the next
mpeg?

stuart.harding@intellidesign.com.au