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.Release
Releases the audio player.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVPlayer | 7.1 | Yes | No | No | No | Yes |
MBS( "AVPlayer.Release"; AVPlayer ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |
Result
Returns OK or error.
Description
Releases the audio player.If you forget to release a player, the audio object stays in memory and if memory is low, FileMaker will crash.
To avoid this the plugin will only open up to 50 files simultaneously.
Examples
Release player:
#Close last movie if it was open.
If [Length($$Player)>0]
Set Variable [$r; Value:MBS("AVPlayer.Release"; $$Player)]
Set Variable [$$Player; Value:""]
End If
See also
- AVPlayer.AddView
- AVPlayer.GetRate
- AVPlayer.OpenContainer
- AVPlayer.OpenFile
- AVPlayer.OpenURL
- AVPlayer.ReleaseAll
- AVPlayer.SetRate
Example Databases
Created 3th February 2017, last changed 3th February 2017
AVPlayer.Play - AVPlayer.ReleaseAll
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins