MCI Object

Another way how to play Video (or Audio as well) is to use MCI interface. This could be done by using MCIcommand from the script.

However because the working with MCIcommand is abit complicated the easy MCI object was introduced.

This makes easier to play video or audio using MCI without doing much scripting. Let's say you want to play ASF so instead of bunch of MCICommand script lines you simply draw a MCI object which could play your asf automatically on page start or you can control basic functions (play, stop, close) with new script command MCIObject.

You can use it even without any scripts if you select Run afterpage start. Then the video will simply play and finish.

To control MCI object you use script command

MCIObject("Object","play")

MCIObject("Object","stop")

MCIObject("Object","pause")

MCIObject("Object","close")

where Object is the Label of the MCI Object

Note MCI objects uses the windows drivers to play selected format! User has to have Windows Media Player installed to support formats like mpeg, ASF, mpeg4 ...