Platforms to show: All Mac Windows Linux Cross-Platform
Back to MFPMediaPlayerMBS class.
MFPMediaPlayerMBS.StateEmpty = 0
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Initial state. No media items have been set on the player object.
MFPMediaPlayerMBS.StatePaused = 3
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Playback is paused.
MFPMediaPlayerMBS.StatePlaying = 2
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Playback is in progress.
MFPMediaPlayerMBS.StateShutdown = 4
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
The player object was shut down. This state is returned after the application calls Shutdown method.
MFPMediaPlayerMBS.StateStopped = 1
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Playback is stopped.
MFPMediaPlayerMBS.VideoARModeMask = 7
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Bitmask to validate flag values. This value is not a valid flag.
MFPMediaPlayerMBS.VideoARModeNone = 0
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Do not maintain the aspect ratio of the video. Stretch the video to fit the output rectangle.
MFPMediaPlayerMBS.VideoARModeNonLinearStretch = 4
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Apply a non-linear horizontal stretch if the aspect ratio of the destination rectangle does not match the aspect ratio of the source rectangle.
The non-linear stretch algorithm preserves the aspect ratio in the middle of the picture and stretches (or shrinks) the image progressively more toward the left and right. This mode is useful when viewing 4:3 content full-screen on a 16:9 display, instead of pillar-boxing. Non-linear vertical stretch is not supported, because the visual results are generally poor.
This mode may cause performance degradation.
If this flag is set, you must also set the VideoARModePreservePixel and VideoARModePreservePicture flags.
MFPMediaPlayerMBS.VideoARModePreservePicture = 1
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Preserve the aspect ratio of the video by letterboxing or within the output rectangle.
MFPMediaPlayerMBS.VideoARModePreservePixel = 2
Type | Topic | Plugin | Version |
const | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 |
Correct the aspect ratio if the physical size of the display device does not match the display resolution. For example, if the native resolution of the monitor is 1600 by 1200 (4:3) but the display resolution is 1280 by 1024 (5:4), the monitor will display non-square pixels.
If this flag is set, you must also set the VideoARModePreservePicture flag.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.