WMFP.GetIdealVideoSize
----------------------

Queries ideal 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.GetIdealVideoSize"; Player ) 

**MBS**( **"WMFP.GetIdealVideoSize";** /\* Queries ideal 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 ideal video size.  
The sizes where the video can be displayed without significantly degrading performance or image quality.  
Returns a list of values with minimum width, minimum height, maximum width and maximum height  
### Examples

Query size:

 MBS ( "WMFP.GetIdealVideoSize"; $$Player )  
<small>  
Example result:   
1  
1  
2826  
1978</small>### See also

- [WMFP.GetNativeVideoSize](WMFPGetNativeVideoSize.md)

This function checks for a license.

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

  
[WMFP.GetDuration](WMFPGetDuration.md) - [WMFP.GetLoop](WMFPGetLoop.md)

[HTML Version](WMFPGetIdealVideoSize.shtml)