MoviePlayer.RepeatInReverse

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aMoviePlayer.RepeatInReverse = newBooleanValue
or
BooleanValue = aMoviePlayer.RepeatInReverse

New in 2019r2

Supported for all project types and targets.

If True, it plays the movie in reverse when the movie reaches its end. AutoRepeat must be True for RepeatInReverse to work.

Example

The following example invokes the RepeatInReverse feature.

Var f As FolderItem

f = FolderItem.ShowOpenFileDialog(FileTypes1.VideoMp4)
If f <> Nil Then
MoviePlayer1.AutoPlay = True
MoviePlayer1.RepeatInReverse = False
MoviePlayer1.Movie = Movie.Open(f)
End If