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
Number of bits per audio sample in an audio media type.

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
Number of audio channels in an audio media type.

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
Number of audio samples per second in an audio media type.

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
The media item can pause.

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
The media item supports seeking.

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
Gets the duration of the media item.

(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
The internal object reference.

(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
Queries whether the media item contains an audio stream.

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
Queries whether the media item contains an audio stream.

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
Seeking can take a long time.

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
Queries whether the media item contains a video stream.

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
Queries whether the media item contains a video stream.

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
The media item represents a live data source, such as video camera.

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
Queries whether the media item contains protected content.

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
Gets a dictionary that contains metadata for the source, such as author or title.

(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
Gets the number of streams (audio, video, and other) in the media item.

(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 start time for the media item.

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 stop time for the media item.

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
The tag value associated with this plugin object.

Can be used freely by you.
(Read and Write property)

MFPMediaItemMBS.URL as String

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
Gets the URL that was used to create the media item.

(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
Frame rate of a video media type, in frames per second.

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.


The biggest plugin in space...