Platforms to show: All Mac Windows Linux Cross-Platform
Back to MFPMediaItemMBS class.
MFPMediaItemMBS.AudioBitsPerSample as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 23.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
e.g. 16
(Read only property)
MFPMediaItemMBS.AudioChannels as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 23.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
e.g. 1
(Read only property)
MFPMediaItemMBS.AudioSamplesPerSecond as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 23.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
e.g. 44100
(Read only property)
MFPMediaItemMBS.CanPause as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If this flag is absent, the Pause method will likely fail.
(Read only property)
MFPMediaItemMBS.CanSeek as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If this flag is absent, setting the Position property will fail.
(Read only property)
MFPMediaItemMBS.Duration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
MFPMediaItemMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
MFPMediaItemMBS.HasAudio as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the value true if the media item contains at least one audio stream, or false otherwise.
(Read only property)
MFPMediaItemMBS.HasAudioSelected as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the value true if at least one audio stream is selected, or false otherwise.
To select or deselect streams before playback starts, set StreamSelection(index).
(Read only property)
MFPMediaItemMBS.HasSlowSeek as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For example, the source might download content through HTTP.
(Read only property)
MFPMediaItemMBS.HasVideo as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the value true if the media item contains at least one video stream, or false otherwise.
(Read only property)
MFPMediaItemMBS.HasVideoSelected as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns the value true if at least one video stream is selected, or false otherwise.
To select or deselect streams before playback starts, set StreamSelection(index).
(Read only property)
MFPMediaItemMBS.IsLive as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If playback is stopped and then restarted, there will be a gap in the content.
(Read only property)
MFPMediaItemMBS.IsProtected as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If true then the media item contains protected content. Attempting to play this media item will cause a playback error.
(Read only property)
MFPMediaItemMBS.Metadata as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
MFPMediaItemMBS.NumberOfStreams as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
MFPMediaItemMBS.StartPosition as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The adjusted start and stop times are used the next time that SetMediaItem is called with this media item. If the media item is already set on the player, the change does not happen unless you call SetMediaItem again.
(Read and Write property)
MFPMediaItemMBS.StopPosition as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The adjusted start and stop times are used the next time that SetMediaItem is called with this media item. If the media item is already set on the player, the change does not happen unless you call SetMediaItem again.
(Read and Write property)
MFPMediaItemMBS.Tag as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Can be used freely by you.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
MFPMediaItemMBS.VideoFrameRate as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Windows Media Foundation | MBS WinFrameworks Plugin | 23.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The frame rate is expressed as a ratio. The upper 32 bits of the attribute value contain the numerator and the lower 32 bits contain the denominator. For example, if the frame rate is 30 frames per second (fps), the ratio is 30/1. If the frame rate is 29.97 fps, the ratio is 30,000/1001.
e.g. 2147483648016679, which gives with BitWise.ShiftRight(v, 32) the value 500000 and with BitWiseAnd(v, &hFFFFFFFF) the value 16679. 500000/16679 gives 29.97.
(Read only property)
The items on this page are in the following plugins: MBS WinFrameworks Plugin.