Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Releases the audio player.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVPlayer | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
AVPlayer | The reference number of the player. | $Player |
Returns OK or error.
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
This function is free to use.
Created 3th February 2017, last changed 26th April 2023