IMFMediaEngine::GetAutoPlay method (mfmediaengine.h)
Queries whether the Media Engine automatically begins playback.
Syntax
BOOL GetAutoPlay();
Return value
Returns TRUE if the Media Engine automatically begins playback, or FALSE otherwise.
Remarks
This method corresponds to the autoplay attribute of the HTMLMediaElement interface in HTML5.
If this method returns TRUE, playback begins automatically after the IMFMediaEngine::Load method completes. Otherwise, playback begins when the application calls IMFMediaEngine::Play.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |