Video - Overview

The Video functions allow you to use a script to control a Video object on a page in your publication. For example, you can use the Video functions to check if a video is playing or to start and stop a video from playing, as well as go to specific parts of the video or find out how long the video has been playing for.

Hierarchy:

As well as the specific functions listed under the Functions: heading below, you can also use the following OpusScript functions:

image\Script_Button.jpgGraphical Object functions

image\Script_Button.jpgBasic Object functions

Class Hierarchy:

Video

image\Hierarchy_Level.jpg Graphical Objects

 image\Hierarchy_Level.jpg Basic Objects

Hierarchy of objects in Opus

Functions:

GetLength

Get the length of the video in seconds

GetPosition

Get the current position of a video in seconds

Go

Set the first frame of a video

IsPlaying

Check if a specified video is playing

Play

Play a specified video

Seek

Reposition the starting point of a video

Stop

Stop a specified video