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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

WMFP.SetVisible

Hides or shows the player.

Component Version macOS Windows Linux Server iOS SDK
WMFP 10.0 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WMFP.SetVisible"; Player; Visible )   More

Parameters

Parameter Description Example
Player The reference number for the Windows Media Foundation Player object. $$Player
Visible The new visible state.
Pass 0 to hide or 1 to show.
1

Result

Returns OK or error.

Description

Hides or shows the player.
By default we create it visible, but you can hide it if it's on a register and the user clicked to other tab.

Examples

Hide player, e.g. when switching layouts or registers:

Set Variable [ $r ; Value: MBS("WMFP.SetVisible"; $$player; 0) ]

Show player:

Set Variable [ $r ; Value: MBS("WMFP.SetVisible"; $$player; 1) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 25th December 2019, last changed 25th December 2019


WMFP.SetTag - WMFP.SetVolume

💬 Ask a question or report a problem