Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVPlayer.SetVolume
Sets the volume.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVPlayer | 7.1 | Yes | No | No | No | Yes |
MBS( "AVPlayer.SetVolume"; AVPlayer; Volume ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |
| Volume | The new volume. Zero is no volume like muted. |
1.0 |
Result
Returns OK or error.
Description
Sets the volume.Default is 1.0. You can for example set to 0.5 for half volume.
Examples
Sets volume:
Set Variable [$r; Value:MBS("AVPlayer.SetVolume"; $$Player; AVPlayer::Volume)]
Set Field [AVPlayer::Volume; MBS("AVPlayer.GetVolume"; $$Player)]
See also
Example Databases
Created 3th February 2017, last changed 3th February 2017
AVPlayer.SetVisible - AVRecorder.AddPreviewToWindow
Feedback: Report problem or ask question.
Links
MBS FileMaker blog