Главный модератор
Ответов: 2999
Рейтинг: 396
|
Description
Windows Media Player control.
Properties
Ctlenabled<bool> - Sets a value indicating whether the Windows Media Player control is enabled.
enableContextMenu<bool> - Sets a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
fullScreen<bool> - Sets a value indicating whether video content is played back in full-screen mode.
stretchToFit<bool> - Sets a value indicating whether video will stretch to fit size of the Windows Media Player control video display.
uiMode<string> - Sets a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a webpage.
URL<string> - Sets the URL of the media item to operate.
windowlessVideo<bool> - Sets a value indicating whether the Windows Media Player control renders video in windowless mode.
Methods
doClose() - Closes the current digital media file, stops playback in Windows Media Player and releases Windows Media Player resources.
doLaunchURL(string URL) - Sends a URL to the user's default browser to be rendered.
doOpenPlayer(string URL) - Opens Windows Media Player using the specified URL.
Variables
Ctlenabled<bool> - Returns a value indicating whether the Windows Media Player control is enabled.
dvd<IWMPDVD> - Returns an IWMPDVD interface that provides properties and methods for working with DVDs.
enableContextMenu<bool> - Returns a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
fullScreen<bool> - Returns a value indicating whether video content is played back in full-screen mode.
newMedia<IWMPMedia> - Returns an IWMPMedia interface for a new media item by specified URL.
newPlaylist<IWMPPlaylist> - Returns an IWMPPlaylist interface for a new playlist.
stretchToFit<bool> - Returns a value indicating whether video will stretch to fit size of the Windows Media Player control video display.
uiMode<string> - Returns a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a webpage.
versionInfo<string> - Returns a value that specifies the version of the Windows Media Player.
windowlessVideo<bool> - Returns a value indicating whether the Windows Media Player control renders video in windowless mode.
WMPlayer<AxWindowsMediaPlayer> - Returns the WMPlayer object.
Parameters
Name<string> - Defines the name of the new playlist.
URL<string> - Defines the URL of the media item to operate.
Examples
Notes
Inheritance Hierarchy:
Control
Find more information: https://msdn.microsoft.com/en-us/library/windows/desktop/dd562388.aspx
Element update: [svn]WMPlayer.cs[/svn]
|
карма: 6 |
| 1 |
|
Голосовали: | Konst |