Platforms to show: All Mac Windows Linux Cross-Platform
Windows Media Foundation
Play audio and video with Windows Media Foundation's player.
- Classes
- class MFPMediaItemMBS
- method Constructor
- method PresentationAttribute(UUID as String) as Variant
- method StreamAttribute(index as Integer, UUID as String) as Variant
- property AudioBitsPerSample as Variant
- property AudioChannels as Variant
- property AudioSamplesPerSecond as Variant
- property CanPause as Boolean
- property CanSeek as Boolean
- property Duration as Double
- property Handle as Integer
- property HasAudio as Boolean
- property HasAudioSelected as Boolean
- property HasSlowSeek as Boolean
- property HasVideo as Boolean
- property HasVideoSelected as Boolean
- property IsLive as Boolean
- property IsProtected as Boolean
- property Metadata as Dictionary
- property NumberOfStreams as Integer
- property StartPosition as Double
- property StopPosition as Double
- property Tag as Variant
- property URL as String
- property VideoFrameRate as Variant
- property StreamSelection(index as Integer) as Boolean
- class MFPMediaPlayerExceptionMBS
- class MFPMediaPlayerMBS
- method ClearMediaItem
- method Constructor(URL as String = "", StartPlayback as Boolean = false)
- method Constructor(URL as String, StartPlayback as Boolean, control as DesktopControl)
- method Constructor(URL as String, StartPlayback as Boolean, control as RectControl)
- method Constructor(URL as String, StartPlayback as Boolean, Handle as Integer)
- method Constructor(URL as String, StartPlayback as Boolean, win as DesktopWindow)
- method Constructor(URL as String, StartPlayback as Boolean, win as Window)
- method CreateMediaItemFromURL(URL as String, Sync as Boolean = true, tag as Variant = nil) as MFPMediaItemMBS
- method FrameStep
- method GetVideoSourceRect(byref Left as Single, byref Top as Single, byref Right as Single, byref Bottom as Single)
- method InsertEffect(CLSID as String, isOptional as boolean = false) as Integer
- method Pause
- method Play
- method RemoveAllEffects
- method RemoveEffect(Handle as Integer)
- method SetVideoSourceRect(Left as Single, Top as Single, Right as Single, Bottom as Single)
- method Shutdown
- method Stop
- method UpdateVideo
- property AspectRatioMode as Integer
- property Balance as Single
- property BorderColor as Color
- property Duration as Double
- property FastestSupportedRateForward as Single
- property FastestSupportedRateReverse as Single
- property Handle as Integer
- property IdealVideoMaxHeight as Integer
- property IdealVideoMaxWidth as Integer
- property IdealVideoMinHeight as Integer
- property IdealVideoMinWidth as Integer
- property Looping as Boolean
- property MediaItem as MFPMediaItemMBS
- property Mute as Boolean
- property NativeVideoAspectRateHeight as Integer
- property NativeVideoAspectRateWidth as Integer
- property NativeVideoHeight as Integer
- property NativeVideoWidth as Integer
- property Position as Double
- property Rate as Single
- property SlowestSupportedRateForward as Single
- property SlowestSupportedRateReverse as Single
- property State as Integer
- property VideoWindow as Integer
- property Volume as Single
- event Ended
- event Error
- event FrameStepped
- event MediaItemCleared
- event MediaItemCreated(MediaItem as MFPMediaItemMBS, Tag as variant)
- event MediaItemSet
- event Paused
- event PositionSet
- event RateSet(rate as Single)
- event Started
- event Stopped
- class MFPMediaItemMBS
- Blog Entries
Release notes
- Version 23.2
- Added AudioChannels, AudioSamplesPerSecond, VideoFrameRate, and AudioBitsPerSample to MFPMediaItemMBS class.
- Version 20.1
- Added Looping property to MFPMediaPlayerMBS class.
- Version 20.0
- Added MFPMediaPlayerMBS, MFPMediaPlayerExceptionMBS and MFPMediaItemMBS classes for Windows video/audio playback.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.