videoClip

An object type that contains movie data.

# Metadata

Platforms: desktop OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

videoClip

# Examples

play videoClip "Spartacus"

delete videoClip ID 2485

# Description

Use the videoClip object type to display a movie that is stored in the stack, rather than in another file.

Unlike a player, a video clip contains the movie that it displays. This increases the memory required by your stack, because the movie data is loaded into memory whenever the stack file is open. However, it prevents the movie from being accidentally separated from the stack file and lost.

Video clips can be in AVI, or MPEG format.

A video clip is contained in a stack. Video clips cannot contain other objects. (A video clip is not a control, since it has no user interface and cannot be owned by a card.)

To play a videoClip, use the syntax

play videoClip filename_of_videoclip

To pause a videoClip, use the syntax

play pause videoClip filename_of_videoclip

To stop a videoClip, use the syntax

play stop videoClip filename_of_videoclip

# Tags

# See

- **keyword:** templateVideoClip - **property:** videoClipPlayer - **object:** stack, player - **glossary:** object type