次の方法で共有


AxWindowsMediaPlayer.windowlessVideo property

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The windowlessVideo property gets or sets a value indicating whether the Windows Media Player control renders video in windowless mode.

Syntax

public System.Boolean windowlessVideo {get; set;}

Public Property windowlessVideo As System.Boolean

Property value

A System.Boolean value indicating whether the Windows Media Player control renders video in windowless mode. The default value is false.

Remarks

By default, an embedded Windows Media Player control renders video in its own window within the client area. When windowlessVideo is set to true, the Windows Media Player object renders video directly in the client area, so you can apply special effects or layer the video with text.

In Windows Vista, rendering video in windowless mode can degrade performance.

Getting a value for this property is not supported for Netscape Navigator. Setting a value for this property in Netscape Navigator may yield unexpected results.

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later
Namespace
AxWMPLib
Assembly
AxInterop.WMPLib.dll (AxInterop.WMPLib.dll.dll)

See also

AxWindowsMediaPlayer Object (VB and C#)