Command Reference - Action Examples
|
Actions used: |
In this example, we'll load an MPEG video file into a Media Player Object and then start playing it.
Here's what the action list looks like:

First we use a "Media Player Object - Load" action to load an MPEG video file (called introvid.mpg) into our Media Player Object (called "MP - Intro"). The file is located in a subfolder called "Videos" inside the folder where our AutoPlay application is running from (represented by the built-in variable %SrcDir%).

Then we use a "Media Player Object - Play" action to tell the Media Player Object to start playing the video. (For this example, we'll assume that the "MP - Intro" Media Player Object has the Automatically start playing media option disabled.)

Here's a link to the finished example, as an AutoPlay Media Studio 4.0 actions XML file that you can import into an action list:
Loading_and_playing_an_MPEG.zip
(Note: save this file to your hard drive and use a tool like WinZip to extract the XML file)