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.GetNativeVideoSize

Queries native video size.

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

Parameters

Parameter Description Example
Player The reference number for the Windows Media Foundation Player object. $$Player

Result

Returns list or error.

Description

Queries native video size.
Returns a list with width and height in pixels, aspect ratio x & y.

Examples

Query ideal size:

MBS( "WMFP.GetNativeVideoSize"; $$Player )

Example result:
568
320
71
40

See also

This function checks for a license.

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


WMFP.GetMute - WMFP.GetPosition

💬 Ask a question or report a problem