MoviePlayer.Controller

From Xojo Documentation

Property (As Integer )
aMoviePlayer.Controller = newIntegerValue
or
IntegerValue = aMoviePlayer.Controller

Supported for all project types and targets.

The type of controller the MoviePlayer displays. The default is 2, Full Controller.

Notes

It can take on the following values:

Value Description
0 No movie controls
1 Badge
2 Full controller

Example

This example suppresses the controls and autoplays the movie.

Dim f As FolderItem

f = GetOpenFolderItem(FileTypes1.VideoMp4)
If f <> Nil Then
MoviePlayer1.AutoPlay = True
MoviePlayer1.Controller = 0
MoviePlayer1.Movie = f.OpenAsMovie
End If