Media Player Object - Seek

Seeks to (i.e. goes directly to) a specific time in a Media Player Object.

Action ID:
Action Category:
Action List Syntax:

50
Media Player Object
MediaPlayerObject[<<OBJECTNAME>>].Seek (<<POSITION>>)

Settings

Object:

The name of the Media Player Object that you want to perform the seek in.

Position:

The position to seek to. Choose from:

Beginning

-

Go to the beginning of the media (e.g. movie, mp3, wav).

End

-

Go to the end of the media.

Specific time

-

Go to the time specified in the Seek to field.

Seek to:

The time in seconds that you want the Media Player Object to "seek" to. A value of -1 will seek to the end of the media.

This field is only available when the Specific time option is selected.

TIP

 

 

 

If you want to seek to the end of a media stream only in certain situations, you could conditionally assign -1 to a variable, and use that variable in the Seek to field.

Notes

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT
MSG_ERR_OBJECT_NOT_FOUND
<<OBJECTNAME>>

2

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT
MSG_ERR_MEDIA_PLAYER_OBJECT_SEEK_TOO_LARGE
<<OBJECTNAME>>
<<POSITION>>

3

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT
MSG_ERR_MEDIA_PLAYER_OBJECT_SEEK_TOO_NEGATIVE
<<OBJECTNAME>>
<<POSITION>>

4

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT
MSG_ERR_MEDIA_PLAYER_OBJECT_CONTENT_CLOSED
<<OBJECTNAME>>

5

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT

MSG_ERR_SEEK_MEDIA_PLAYER_OBJECT
MSG_ERR_MEDIA_PLAYER_STATE
<<OBJECTNAME>>

Examples

None