WMFP.GetNativeVideoSize
-----------------------

Queries native video size.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMFP](component_WMFP.md) | [10.0](newinversion100.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMFP.GetNativeVideoSize"; Player ) 

**MBS**( **"WMFP.GetNativeVideoSize";** /\* Queries native video size. \*/  
**$Player**) /\* The reference number for the Windows Media Foundation Player object.e.g. $$Player \*/ 

### 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 &amp; y.  
### Examples

Query ideal size:

 MBS ( "WMFP.GetNativeVideoSize"; $$Player )  
<small>  
Example result:   
568  
320  
71  
40</small>### See also

- [WMFP.GetIdealVideoSize](WMFPGetIdealVideoSize.md)

This function checks for a license.

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

  
[WMFP.GetMute](WMFPGetMute.md) - [WMFP.GetPosition](WMFPGetPosition.md)

[HTML Version](WMFPGetNativeVideoSize.shtml)