play

play();                 (MultiMedia)

play(delay: Integer);   (Picture)

The play method of the MultiMedia class starts the device playing from the current position in the content.

The following examples show the use of the MultiMedia class play method to play a video file.

mmcontrol.mediaName := "c:\image.avi";
mmcontrol.play;

play_click(btn: Button input) updating;
begin
    cd.play;
    stop.setFocus;
end;

See also the MultiMedia class playFromTo and playReverse methods.

The play method of the Picture class causes a separate thread to be initiated, which cycles through the pictures in an array defined by the setPicture method with a pause between the display of each picture in the array. Use the delay parameter to specify in milliseconds the length of the pause between each picture that is displayed. (See also the stop method.)

When using the play method to display pictures:

When running the JADE application in thin client mode, this method executes on the presentation client by default.