MoviePlayer.HasVolumeControl

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

Displays the speaker volume control.

Notes

When set in code, this takes effect the next time the MoviePlayer control is assigned a movie.

Example

The following example hides the volume control before assigning a movie to the player.

Var f As FolderItem

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